{"id":"CVE-2023-33201","published":"2023-07-05T00:00:00Z","modified":"2024-12-04T15:48:15Z","title":"Bouncy Castle For Java before 1.74 is affected by an LDAP injection vulnerability","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00772,"percentile":0.56602,"provenance":"source"},"cwes":[],"references":[{"url":"https://bouncycastle.org","tags":[]},{"url":"https://github.com/bcgit/bc-java/commit/e8c409a8389c815ea3fda5e8b94c92fdfe583bcc","tags":[]},{"url":"https://github.com/bcgit/bc-java/wiki/CVE-2023-33201","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00000.html","tags":["mailing-list"]},{"url":"https://security.netapp.com/advisory/ntap-20230824-0008/","tags":[]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":11.32}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-04T15:47:56.732893Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk18on","vulnerableRanges":["<1.74"],"patched":["1.74"],"from":["GHSA-hr8g-6v94-x4m9"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15to18","vulnerableRanges":["<1.74"],"patched":["1.74"],"from":["GHSA-hr8g-6v94-x4m9"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk14","vulnerableRanges":[">=1.49, <1.74"],"patched":["1.74"],"from":["GHSA-hr8g-6v94-x4m9"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-ext-jdk14","vulnerableRanges":[">=1.49, <1.74"],"patched":["1.74"],"from":["GHSA-hr8g-6v94-x4m9"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-ext-jdk15to18","vulnerableRanges":["<1.74"],"patched":["1.74"],"from":["GHSA-hr8g-6v94-x4m9"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-ext-jdk18on","vulnerableRanges":["<1.74"],"patched":["1.74"],"from":["GHSA-hr8g-6v94-x4m9"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-debug-jdk14","vulnerableRanges":[">=1.49, <1.74"],"patched":["1.74"],"from":["GHSA-hr8g-6v94-x4m9"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-debug-jdk15to18","vulnerableRanges":["<1.74"],"patched":["1.74"],"from":["GHSA-hr8g-6v94-x4m9"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-debug-jdk18on","vulnerableRanges":["<1.74"],"patched":["1.74"],"from":["GHSA-hr8g-6v94-x4m9"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15on","vulnerableRanges":[">=1.49, <=1.70"],"patched":[],"from":["GHSA-hr8g-6v94-x4m9"],"provenance":"source"}],"summary":{"text":"Bouncy Castle For Java before 1.74 contains an LDAP injection flaw in its LDAP CertStore, which is used during X.509 certificate validation: the certificate's Subject Name is inserted into an LDAP search filter without escaping. An attacker who can present a certificate whose Subject Name carries LDAP filter syntax can alter the resulting query, and this only matters for applications that actually use Bouncy Castle's LDAP CertStore to validate certificates.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:02Z"},"euvd":{"id":"EUVD-2023-2081","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-legion-of-the-bouncy-castle-inc-bc-java-cve-2023-33201","children":[{"from":"CVE-2023-33201","to":"CVE-2026-0636","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["prov/src/main/java/org/bouncycastle/jce/provider/X509LDAPCertStoreSpi.java"],"commits":["https://github.com/bcgit/bc-java/commit/e8c409a8389c815ea3fda5e8b94c92fdfe583bcc","https://github.com/bcgit/bc-java/commit/d20cdb8430e09224114fec0179a71859929fcbde"],"basis":"shared function","functions":["engineGetCRLs"]}]}]}}