CVE-2023-33202
Bouncy Castle Denial of Service (DoS)
Reported by mitre · Published November 23, 2023
bcprov-jdk16 is fixed in 1.73 (Maven Central)
Bouncy Castle for Java before 1.73 contains a potential Denial of Service (DoS) issue within the Bouncy Castle org.bouncycastle.openssl.PEMParser class. This class parses OpenSSL PEM encoded streams containing X.509 certificates, PKCS8 encoded keys, and PKCS7 objects. Parsing a file that has crafted ASN.1 data through the PEMParser causes an OutOfMemoryError, which can enable a denial of service attack. (For users of the FIPS Java API: BC-FJA 1.0.2.3 and earlier are affected; BC-FJA 1.0.2.4 is fixed.)
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.bouncycastle:bcprov-jdk16 | Maven Central | 1.73 |
| org.bouncycastle:bcpkix-jdk14 | Maven Central | 1.73 |
| org.bouncycastle:bcpkix-jdk15to18 | Maven Central | 1.73 |
| org.bouncycastle:bcprov-jdk14 | Maven Central | 1.73 |
| org.bouncycastle:bcprov-ext-jdk16 | Maven Central | 1.73 |
| org.bouncycastle:bcprov-jdk18on | Maven Central | 1.73 |
| org.bouncycastle:bcpkix-jdk15on | Maven Central | 1.73 |
| org.bouncycastle:bcpkix-jdk18on | Maven Central | 1.73 |
| org.bouncycastle:bcprov-jdk15 | Maven Central | 1.73 |
| org.bouncycastle:bcprov-ext-jdk15on | Maven Central | 1.73 |
| org.bouncycastle:bcprov-jdk15to18 | Maven Central | 1.73 |
| bouncycastle-mail | Amazon Linux | 1.70-4.amzn2023.0.4 |
11 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | bouncycastle-mail | 0 |
| amazon:2023 | bouncycastle-pg | 0 |
| Maven | org.bouncycastle:bcprov-ext-jdk16 | 0 |
| Maven | org.bouncycastle:bcprov-jdk14 | 0 |
| amazon:2023 | bouncycastle-javadoc | 0 |
| chainguard | gradle-8 | 0 |
| Maven | org.bouncycastle:bcprov-jdk18on | 0 |
| amazon:2023 | bouncycastle-util | 0 |
| Maven | org.bouncycastle:bcprov-jdk15 | 0 |
| Maven | org.bouncycastle:bcprov-jdk16 | 0 |
| Maven | org.bouncycastle:bcprov-jdk15on | |
| Maven | org.bouncycastle:bcpkix-jdk15to18 | 0 |
| Maven | org.bouncycastle:bcpkix-jdk15on | 0 |
| Maven | org.bouncycastle:bcprov-ext-jdk15on | 0 |
| amazon:2023 | bouncycastle-pkix | 0 |
| Maven | org.bouncycastle:bcpkix-jdk14 | 0 |
| Maven | org.bouncycastle:bcpkix-jdk18on | 0 |
| wolfi | gradle-8 | 0 |
| amazon:2023 | bouncycastle | 0 |
…and 4 more
Timeline
- Nov 22, 2023 CVE Published
- Nov 24, 2023 EPSS Score (30 in total, the first dated here)
- Sep 9, 2024 CVE Updated
- Mar 20, 2026 Security Advisory (2 in total, the first dated here)
- Mar 21, 2026 Distribution Patch
- Aug 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-33202
vulnetix vdb fixes CVE-2023-33202
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-33202/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-33202 advisory
- https://github.com/advisories/GHSA-wjxj-5m7g-mg7q advisory
- https://github.com/bcgit/bc-java/commit/0c576892862ed41894f49a8f639112e8d66d229c patch
- https://github.com/bcgit/bc-java url
- https://security.netapp.com/advisory/ntap-20240125-0001 advisory