Summary: | <dev-libs/openssl-1.1.1o: Multiple vulnerabilities | ||
---|---|---|---|
Product: | Gentoo Security | Reporter: | Sam James <sam> |
Component: | Vulnerabilities | Assignee: | Gentoo Security <security> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=855491 https://bugs.gentoo.org/show_bug.cgi?id=855494 |
||
Whiteboard: | A3 [glsa+] | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 845258 | ||
Bug Blocks: | 845255 |
Description
Sam James
2022-05-03 20:31:56 UTC
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a796465aab66d211626dda8a31633fd68117aace commit a796465aab66d211626dda8a31633fd68117aace Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-03 21:32:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-03 21:32:26 +0000 dev-libs/openssl: add 3.0.3 Masked still (3.x) so not the focus of the sec bug, but need to bump to address some vulnerabilities anyhow. Bug: https://bugs.gentoo.org/842489 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/openssl/Manifest | 2 + dev-libs/openssl/openssl-3.0.3.ebuild | 297 ++++++++++++++++++++++++++++++++++ 2 files changed, 299 insertions(+) The first vuln affects the perl-based c_rehash script that is shipped with OpenSSL. It seems Gentoo is not using that, but installs its own version of c_rehash, which is written in bash and comes from pld-linux (it seems to be a fork of an older version from OpenSSL). I tried playing around with that to see if I could find a similar vuln. I haven't found a straight command injection, but it does seem to lack proper filename quoting. E.g. the following: cp ISRG_Root_X1.pem 'foo bar .pem' cp ISRG_Root_X1.pem foo will lead to c_rehash executing the nonexistend "openssl bar" command: Invalid command 'bar'; type "help" for a list. In any case: I don't know what triggered the decision to ship a non-upstream version of that script, but given upstream recommends deprecating it we should probably do so as well (and switch to the internal "openssl rehash" command). (In reply to Hanno Böck from comment #2) > I don't know what triggered the decision to ship a non-upstream > version of that script see bug #333117 - not to RDEPEND on perl afaicr > but given upstream recommends deprecating it we > should probably do so as well (and switch to the internal "openssl rehash" > command) agreed The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=458daf054634ccaa6e5df1a53339e0f57f2755a6 commit 458daf054634ccaa6e5df1a53339e0f57f2755a6 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-29 20:51:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-29 20:51:41 +0000 dev-libs/openssl: drop 1.1.1n, 1.1.1o, 1.1.1o-r1, 1.1.1p Bug: https://bugs.gentoo.org/856592 Bug: https://bugs.gentoo.org/842489 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/openssl/Manifest | 7 - .../files/openssl-1.1.1p-fix-test-build.patch | 52 ---- dev-libs/openssl/openssl-1.1.1n.ebuild | 298 ------------------ dev-libs/openssl/openssl-1.1.1o-r1.ebuild | 338 --------------------- dev-libs/openssl/openssl-1.1.1o.ebuild | 318 ------------------- dev-libs/openssl/openssl-1.1.1p.ebuild | 337 -------------------- 6 files changed, 1350 deletions(-) GLSA request filed The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/data/glsa.git/commit/?id=143e8d174e14e346f2c37e8a31a4be211ac3e24c commit 143e8d174e14e346f2c37e8a31a4be211ac3e24c Author: GLSAMaker <glsamaker@gentoo.org> AuthorDate: 2022-10-16 14:27:07 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2022-10-16 14:39:36 +0000 [ GLSA 202210-02 ] OpenSSL: Multiple Vulnerabilities Bug: https://bugs.gentoo.org/741570 Bug: https://bugs.gentoo.org/809980 Bug: https://bugs.gentoo.org/832339 Bug: https://bugs.gentoo.org/835343 Bug: https://bugs.gentoo.org/842489 Bug: https://bugs.gentoo.org/856592 Bug: https://bugs.gentoo.org/876787 Signed-off-by: GLSAMaker <glsamaker@gentoo.org> Signed-off-by: John Helmert III <ajak@gentoo.org> glsa-202210-02.xml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) GLSA released, all done! The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=530086715f82de12009538347725dbfd14e6b0a8 commit 530086715f82de12009538347725dbfd14e6b0a8 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2022-10-14 03:47:09 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2022-10-16 14:52:19 +0000 profiles: mask <openssl-1.1.1 Bug: https://bugs.gentoo.org/876787 Bug: https://bugs.gentoo.org/741570 Bug: https://bugs.gentoo.org/809980 Bug: https://bugs.gentoo.org/832339 Bug: https://bugs.gentoo.org/835343 Bug: https://bugs.gentoo.org/842489 Bug: https://bugs.gentoo.org/856592 Closes: https://github.com/gentoo/gentoo/pull/22909 Signed-off-by: John Helmert III <ajak@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+) |