CVE-2023-33202

Medium

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.)

SeverityMedium
CVSS5.5
Exploit probability—
ProductBouncycastle Bouncy Castle For Java
PublishedNov 23, 2023
First seenNov 23, 2023

How to fix

Update
  • bouncycastle bouncy_castle_for_java1.73 or later
  • bouncycastle fips_java_api1.0.2.4 or later
  • org.bouncycastle:bcprov-ext-jdk161.73 or later
  • org.bouncycastle:bcprov-jdk141.73 or later
  • org.bouncycastle:bcprov-jdk151.73 or later
  • org.bouncycastle:bcprov-jdk15to181.73 or later
  • org.bouncycastle:bcprov-jdk161.73 or later
  • org.bouncycastle:bcpkix-jdk18on1.73 or later
  • org.bouncycastle:bcprov-ext-jdk15on1.73 or later
  • org.bouncycastle:bcprov-jdk18on1.73 or later

Affected products

ProductAffected versionsFixed in
bouncycastle bouncy_castle_for_javav < 1.731.73
bouncycastle fips_java_apiv < 1.0.2.41.0.2.4
org.bouncycastle:bcprov-ext-jdk16Mavenv < 1.731.73
org.bouncycastle:bcprov-jdk14Mavenv < 1.731.73
org.bouncycastle:bcprov-jdk15Mavenv < 1.731.73
org.bouncycastle:bcprov-jdk15to18Mavenv < 1.731.73
org.bouncycastle:bcprov-jdk16Mavenv < 1.731.73
org.bouncycastle:bcprov-jdk15onMavenNo range specified—
org.bouncycastle:bcpkix-jdk18onMavenv < 1.731.73
org.bouncycastle:bcprov-ext-jdk15onMavenv < 1.731.73
org.bouncycastle:bcprov-jdk18onMavenv < 1.731.73

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.