VDB
Sign up
HIGH7.5

GHSA-2mh8-gx2m-mr75

Out-of-Memory Error in Bouncy Castle Crypto

Quick fix

GHSA-2mh8-gx2m-mr75 — org.bouncycastle:bcprov-jdk14: upgrade to the fixed version with the command below.

# pom.xml: bump <version>1.64</version> for org.bouncycastle:bcprov-jdk14

Details

The ASN.1 parser in Bouncy Castle Crypto (aka BC Java) 1.63 can trigger a large attempted memory allocation, and resultant OutOfMemoryError error, via crafted ASN.1 data. This is fixed in 1.64.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.bouncycastle:bcprov-jdk14
Introduced in: 1.63Fixed in: 1.64
Fix# pom.xml: bump <version>1.64</version> for org.bouncycastle:bcprov-jdk14

References