VDB

CVE-2023-33201

CVE-2023-33201 PUBLISHED CVSS 5.300000190734863 MEDIUM

Bouncy Castle For Java LDAP injection vulnerability

Reported by mitre · Published July 5, 2023

bcprov-jdk15to18 is fixed in 1.74 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.bouncycastle:bcprov-jdk15to18Maven Central1.74
org.bouncycastle:bcprov-debug-jdk18onMaven Central1.74
org.bouncycastle:bcprov-ext-jdk15to18Maven Central1.74
org.bouncycastle:bcprov-jdk14Maven Central1.74
org.bouncycastle:bcprov-debug-jdk15to18Maven Central1.74
org.bouncycastle:bcprov-ext-jdk14Maven Central1.74
org.bouncycastle:bcprov-jdk18onMaven Central1.74
org.bouncycastle:bcprov-ext-jdk18onMaven Central1.74
org.bouncycastle:bcprov-jdk15onMaven Central1.70
org.bouncycastle:bcprov-debug-jdk15onMaven Central1.70
org.bouncycastle:bcprov-ext-jdk15onMaven Central1.70
bouncycastle-tlsAmazon Linux1.70-4.amzn2023.0.3

11 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
amazon:2023bouncycastle-tls0
amazon:2023bouncycastle-javadoc0
chainguardtez0
chainguardgradle-80
Mavenorg.bouncycastle:bcprov-ext-jdk140
amazon:2023bouncycastle-mail0
Mavenorg.bouncycastle:bcprov-jdk140
Mavenorg.bouncycastle:bcprov-ext-jdk18on0
wolfijenkins*
wolfitez0
Mavenorg.bouncycastle:bcprov-jdk15to180
chainguardelasticsearch-70
amazon:2023bouncycastle0
Mavenorg.bouncycastle:bcprov-debug-jdk18on0
chainguarddruid0
wolfidruid0
chainguardsolr-90
n/an/a*
chainguardelasticsearch-80

…and 12 more

Timeline

  • Jun 18, 2023 CVE Published
  • Jul 5, 2023 EPSS Score (30 in total, the first dated here)
  • Feb 8, 2024 PoC Published
  • Mar 23, 2026 Security Advisory (32 in total, the first dated here)
  • Aug 9, 2026 Coalition ESS Score
  • Nov 22, 2026 Distribution Patch (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-33201
vulnetix vdb fixes CVE-2023-33201

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-33201/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›