Vulnerability · Published Nov 23, 2023 · Assigned by mitre
CVE-2023-33202
Medium 5.5
In plain English
A medium-severity security flaw in the bouncycastle package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.)
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | bouncycastle | no fix listed | DEBIAN-CVE-2023-33202 |
| Debian:13 | bouncycastle | 1.77-1 | DEBIAN-CVE-2023-33202 |
| Debian:14 | bouncycastle | 1.77-1 | DEBIAN-CVE-2023-33202 |
| Maven | org.bouncycastle:bcpkix-jdk18on | 1.73 | GHSA-wjxj-5m7g-mg7q |
| Maven | org.bouncycastle:bcprov-ext-jdk15on | 1.73 | GHSA-wjxj-5m7g-mg7q |
| Maven | org.bouncycastle:bcprov-ext-jdk16 | 1.73 | GHSA-wjxj-5m7g-mg7q |
| Maven | org.bouncycastle:bcprov-jdk14 | 1.73 | GHSA-wjxj-5m7g-mg7q |
| Maven | org.bouncycastle:bcprov-jdk15 | 1.73 | GHSA-wjxj-5m7g-mg7q |
| Maven | org.bouncycastle:bcprov-jdk15on | no fix listed | GHSA-wjxj-5m7g-mg7q |
| Maven | org.bouncycastle:bcprov-jdk15to18 | 1.73 | GHSA-wjxj-5m7g-mg7q |
| Maven | org.bouncycastle:bcprov-jdk16 | 1.73 | GHSA-wjxj-5m7g-mg7q |
| Maven | org.bouncycastle:bcprov-jdk18on | 1.73 | GHSA-wjxj-5m7g-mg7q |