Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting org.bouncycastle:bc-fips-debug package, versions [,1.0.2.4)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (23rd 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 IDSNYK-JAVA-ORGBOUNCYCASTLE-6129714
  • published18 Dec 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:bc-fips-debug to version 1.0.2.4 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