Name | CVE-2023-33201 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3514-1, ELA-913-1 |
Debian Bugs | 1040050 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
bouncycastle (PTS) | jessie, jessie (lts) | 1.49+dfsg-3+deb8u3 | vulnerable |
| stretch (security) | 1.56-1+deb9u3 | vulnerable |
| stretch (lts), stretch | 1.56-1+deb9u4 | fixed |
| buster (security), buster, buster (lts) | 1.60-1+deb10u1 | fixed |
| bullseye | 1.68-2 | vulnerable |
| bookworm | 1.72-2 | vulnerable |
| sid, trixie | 1.77-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - bouncycastle <no-dsa> (Minor issue)
[bullseye] - bouncycastle <no-dsa> (Minor issue)
https://github.com/bcgit/bc-java/wiki/CVE-2023-33201
https://github.com/bcgit/bc-java/commit/e8c409a8389c815ea3fda5e8b94c92fdfe583bcc
[jessie] - bouncycastle <postponed> (Minor issue)