MODERATE 5.5

CVE-2023-33202

Bouncy Castle Denial of Service (DoS)

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.

Blast radius

9affected artifacts
161affected versions
54,717dependent artifacts (est.)
5,137,726dependent versions

72% of the dependent artifacts (39,690) still pull an affected version in their latest release.

DepthDependent versions
Direct
162,927
2 hops
943,133
3 hops
1,582,842
4 hops
1,309,142
5 hops
762,443
6 hops
377,239

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.