CVE-2023-33201: Improper Certificate Validation
(updated )
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.
References
- bouncycastle.org/
- bouncycastle.org/releasenotes.html
- github.com/advisories/GHSA-hr8g-6v94-x4m9
- github.com/bcgit/bc-java/commit/ccf93ca736b89250ff4ce079a5aa56f5cbf0ebbd
- github.com/bcgit/bc-java/commit/e8c409a8389c815ea3fda5e8b94c92fdfe583bcc
- github.com/bcgit/bc-java/commits/main/prov/src/main/java/org/bouncycastle/jce/provider/X509LDAPCertStoreSpi.java
- github.com/bcgit/bc-java/wiki/CVE-2023-33201
- lists.debian.org/debian-lts-announce/2023/08/msg00000.html
- nvd.nist.gov/vuln/detail/CVE-2023-33201
- security.netapp.com/advisory/ntap-20230824-0008/
Detect and mitigate CVE-2023-33201 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →