Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcprov-jdk15on
  4. ›
  5. CVE-2023-33201

CVE-2023-33201: Improper Certificate Validation

July 5, 2023 (updated September 5, 2023)

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/

Code Behaviors & Features

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 →

Affected versions

All versions starting from 1.49 up to 1.70

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

maven/org.bouncycastle/bcprov-jdk15on/CVE-2023-33201.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.