Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting org.bouncycastle:bcprov-jdk15on package, versions [0,]


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Availability High

    Threat Intelligence

    EPSS 0.05% (15th percentile)
Expand this section
NVD
5.5 medium
Expand this section
Red Hat
7.5 high

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 ID SNYK-JAVA-ORGBOUNCYCASTLE-6084022
  • published 24 Nov 2023
  • disclosed 23 Nov 2023
  • credit Amazon AWS Security Team

How to fix?

There is no fixed version for org.bouncycastle:bcprov-jdk15on.

Overview

org.bouncycastle:bcprov-jdk15on is a Java implementation of cryptographic algorithms.

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.