Vulnerability · Published Jul 5, 2023 · Assigned by mitre
CVE-2023-33201
Medium 5.3
In plain English
A medium-severity security flaw in the bouncycastle package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | bouncycastle | no fix listed | DEBIAN-CVE-2023-33201 |
| Debian:13 | bouncycastle | 1.77-1 | DEBIAN-CVE-2023-33201 |
| Debian:14 | bouncycastle | 1.77-1 | DEBIAN-CVE-2023-33201 |
| Maven | org.bouncycastle:bcprov-debug-jdk14 | 1.74 | GHSA-hr8g-6v94-x4m9 |
| Maven | org.bouncycastle:bcprov-debug-jdk15on | no fix listed | GHSA-hr8g-6v94-x4m9 |
| Maven | org.bouncycastle:bcprov-debug-jdk15to18 | 1.74 | GHSA-hr8g-6v94-x4m9 |
| Maven | org.bouncycastle:bcprov-debug-jdk18on | 1.74 | GHSA-hr8g-6v94-x4m9 |
| Maven | org.bouncycastle:bcprov-ext-jdk14 | 1.74 | GHSA-hr8g-6v94-x4m9 |
| Maven | org.bouncycastle:bcprov-ext-jdk15on | no fix listed | GHSA-hr8g-6v94-x4m9 |
| Maven | org.bouncycastle:bcprov-ext-jdk15to18 | 1.74 | GHSA-hr8g-6v94-x4m9 |
| Maven | org.bouncycastle:bcprov-ext-jdk18on | 1.74 | GHSA-hr8g-6v94-x4m9 |
| Maven | org.bouncycastle:bcprov-jdk14 | 1.74 | GHSA-hr8g-6v94-x4m9 |
| Maven | org.bouncycastle:bcprov-jdk15on | no fix listed | GHSA-hr8g-6v94-x4m9 |
| Maven | org.bouncycastle:bcprov-jdk15to18 | 1.74 | GHSA-hr8g-6v94-x4m9 |
| Maven | org.bouncycastle:bcprov-jdk18on | 1.74 | GHSA-hr8g-6v94-x4m9 |
Affected products (as reported)
References
- https://bouncycastle.org
- https://github.com/bcgit/bc-java/commit/e8c409a8389c815ea3fda5e8b94c92fdfe583bcc
- https://github.com/bcgit/bc-java/wiki/CVE-2023-33201
- [debian-lts-announce] 20230802 [SECURITY] [DLA 3514-1] bouncycastle security update mailing-list
- https://security.netapp.com/advisory/ntap-20230824-0008/