Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855494 - dev-libs/openssl: deprecate app-misc/c_rehash and migrate to 'openssl rehash'
Summary: dev-libs/openssl: deprecate app-misc/c_rehash and migrate to 'openssl rehash'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: CVE-2022-4203, CVE-2022-4304, CVE-2022-4450, CVE-2023-0215, CVE-2023-0216, CVE-2023-0217, CVE-2023-0286, CVE-2023-0401
Blocks: 887073
  Show dependency tree
 
Reported: 2022-07-01 07:56 UTC by Sam James
Modified: 2023-02-07 23:54 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-01 07:56:28 UTC
Upstream OpenSSL recommend using 'openssl rehash' now.

There have been two vulnerabilities in their own script (predecessor to 'openssl rehash', not the same as the now built-in command) which don't seem to affect us, but we should migrate to be safe anyway, as it's not impossible we could fall prey to similar issues.

See bug 855491 and bug 842489.
Comment 1 Larry the Git Cow gentoo-dev 2023-02-04 01:48:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe57254430cfe6f2718222a5f582fffb61f5211

commit 4fe57254430cfe6f2718222a5f582fffb61f5211
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-02-04 01:38:27 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-02-04 01:38:27 +0000

    app-misc/ca-certificates: stop using c_rehash
    
    Bug: https://bugs.gentoo.org/855494
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 ...es-20211016.3.87.ebuild => ca-certificates-20211016.3.87-r1.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cb751e862be780084c4d9a1ae09bc19c783b55d

commit 1cb751e862be780084c4d9a1ae09bc19c783b55d
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-02-04 01:36:14 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-02-04 01:36:14 +0000

    dev-libs/openssl: replace c_rehash with openssl rehash
    
    Bug: https://bugs.gentoo.org/855494
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../openssl/{openssl-1.1.1s-r1.ebuild => openssl-1.1.1s-r2.ebuild}  | 6 +++---
 .../openssl/{openssl-3.0.7-r2.ebuild => openssl-3.0.7-r3.ebuild}    | 5 ++---
 2 files changed, 5 insertions(+), 6 deletions(-)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-07 23:45:05 UTC
This is now fixed in keyworded versions and will naturally then propagate into stable and cleanups.