Ubuntu CVE Tracker
UBUNTU-CVE-2023-33201
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | bouncycastle | All versions before 1.51-4ubuntu1+esm1 (fixed in 1.51-4ubuntu1+esm1) |
| Ubuntu:Pro:18.04:LTS | bouncycastle | All versions before 1.59-1ubuntu0.1~esm1 (fixed in 1.59-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | bouncycastle | All versions before 1.61-1ubuntu0.1~esm1 (fixed in 1.61-1ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | bouncycastle | All versions before 1.68-5ubuntu0.1~esm1 (fixed in 1.68-5ubuntu0.1~esm1) |