VDB
Sign up
HIGH7.5

GHSA-xqj7-j8j5-f2xr

Bouncy Castle has a flaw in the Low-level interface to RSA key pair generator

Quick fix

GHSA-xqj7-j8j5-f2xr — org.bouncycastle:bcprov-jdk14: upgrade to the fixed version with the command below.

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

Details

Bouncy Castle BC 1.54 - 1.59, BC-FJA 1.0.0, BC-FJA 1.0.1 and earlier have a flaw in the Low-level interface to RSA key pair generator, specifically RSA Key Pairs generated in low-level API with added certainty may have less M-R tests than expected. This appears to be fixed in versions BC 1.60 beta 4 and later, BC-FJA 1.0.2 and later.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.bouncycastle:bcprov-jdk14
Introduced in: 0Fixed in: 1.60
Fix# pom.xml: bump <version>1.60</version> for org.bouncycastle:bcprov-jdk14
Maven/org.bouncycastle:bcprov-jdk15
Introduced in: 0Fixed in: 1.60
Fix# pom.xml: bump <version>1.60</version> for org.bouncycastle:bcprov-jdk15
Maven/org.bouncycastle:bcprov-jdk15on
Introduced in: 0Fixed in: 1.60
Fix# pom.xml: bump <version>1.60</version> for org.bouncycastle:bcprov-jdk15on

References