Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcprov-jdk18on
  4. ›
  5. CVE-2023-33202

CVE-2023-33202: Bouncy Castle Denial of Service (DoS)

November 23, 2023 (updated November 24, 2023)

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.

References

  • bouncycastle.org/
  • github.com/advisories/GHSA-wjxj-5m7g-mg7q
  • github.com/bcgit/bc-java/wiki/CVE-2023-33202
  • nvd.nist.gov/vuln/detail/CVE-2023-33202

Code Behaviors & Features

Detect and mitigate CVE-2023-33202 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.73

Fixed versions

  • 1.73

Solution

Upgrade to version 1.73 or above.

Source file

maven/org.bouncycastle/bcprov-jdk18on/CVE-2023-33202.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.