Bouncy Castle For Java before 1.74 is affected by an LDAP injection vulnerability. The vulnerability only affects applications that use an LDAP CertStore from Bouncy Castle to validate X.509 certificates. During the certificate validation process, Bouncy Castle inserts the certificate's Subject Name into an LDAP search filter without any escaping, which leads to an LDAP injection vulnerability.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=901da761770cc5e16a9303ddcb0722f5b3654773 commit 901da761770cc5e16a9303ddcb0722f5b3654773 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2023-08-15 05:41:31 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2023-09-19 14:10:22 +0000 dev-java/bcprov: add 1.74 Special slot for consumers using deprecated methods which were removed in version 1.75. Bug: https://bugs.gentoo.org/912248 Bug: https://bugs.gentoo.org/912247 Closes: https://bugs.gentoo.org/797634 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/bcprov/Manifest | 2 + dev-java/bcprov/bcprov-1.74.ebuild | 106 +++++++++++++++++++++++++++++++++++++ dev-java/bcprov/metadata.xml | 3 ++ 3 files changed, 111 insertions(+)
1.74 is stabilized, please cleanup.
(In reply to John Helmert III from comment #2) > 1.74 is stabilized, please cleanup. Cannot cleanup before stabilization. Still waiting for ppc64 on dev-java/{{bcmail,bcpg,bcpkix,bcprov,bcutil}-1.76
Sorry! Saw that there had been stabilizations for the bug, missed that the bug wasn't finished..
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6599a8052ce9db297c031c0b2f9e90b58b558878 commit 6599a8052ce9db297c031c0b2f9e90b58b558878 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2023-10-27 10:37:03 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2023-10-28 08:22:58 +0000 dev-java/bcprov: drop 1.72 Bug: https://bugs.gentoo.org/912248 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/bcprov/Manifest | 3 +- dev-java/bcprov/bcprov-1.72.ebuild | 99 -------------------------------------- 2 files changed, 1 insertion(+), 101 deletions(-)