Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting org.bouncycastle:bcprov-jdk18on package, versions [,1.73)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncontrolled Resource Consumption ('Resource Exhaustion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGBOUNCYCASTLE-6084023
  • published24 Nov 2023
  • disclosed23 Nov 2023
  • creditAmazon AWS Security Team

Introduced: 23 Nov 2023

CVE-2023-33202  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade org.bouncycastle:bcprov-jdk18on to version 1.73 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') within the org.bouncycastle.openssl.PEMParser class. Parsing a file that has crafted ASN.1 data through the PEMParser causes an OutOfMemoryError.

Workaround

The attack can be avoided by filtering PEM requests containing EXTERNAL tagged encodings.

CVSS Scores

version 3.1