NetSight
medium5.5

CVE-2023-33202

Bouncy Castle Denial of Service (DoS)

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.bouncycastle:bcprov-jdk18on< 1.731.73
mavenorg.bouncycastle:bcpkix-jdk18on< 1.731.73
mavenorg.bouncycastle:bcprov-ext-jdk15on< 1.731.73
mavenorg.bouncycastle:bcprov-ext-jdk16< 1.731.73
mavenorg.bouncycastle:bcprov-jdk14< 1.731.73
mavenorg.bouncycastle:bcprov-jdk15< 1.731.73
mavenorg.bouncycastle:bcprov-jdk15to18< 1.731.73
mavenorg.bouncycastle:bcprov-jdk16< 1.731.73
mavenorg.bouncycastle:bcprov-jdk15on< 1.70none recorded

Affected products

VendorProductAffected versions
BouncycastleBouncy Castle For Java
before 1.73
BouncycastleFips Java Api
before 1.0.2.4

Weakness classification

References