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-jdk14Details
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.60Fix
# pom.xml: bump <version>1.60</version> for org.bouncycastle:bcprov-jdk14Maven/org.bouncycastle:bcprov-jdk15
Introduced in:
0Fixed in: 1.60Fix
# pom.xml: bump <version>1.60</version> for org.bouncycastle:bcprov-jdk15Maven/org.bouncycastle:bcprov-jdk15on
Introduced in:
0Fixed in: 1.60Fix
# pom.xml: bump <version>1.60</version> for org.bouncycastle:bcprov-jdk15onReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000180[ADVISORY]
- https://github.com/bcgit/bc-java/commit/22467b6e8fe19717ecdf201c0cf91bacf04a55ad[WEB]
- https://github.com/bcgit/bc-java/commit/73780ac522b7795fc165630aba8d5f5729acc839[WEB]
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html[WEB]
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html[WEB]
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html[WEB]
- https://www.oracle.com/security-alerts/cpuoct2020.html[WEB]
- https://www.oracle.com/security-alerts/cpuapr2020.html[WEB]
- https://www.oracle.com/security-alerts/cpuApr2021.html[WEB]
- https://www.debian.org/security/2018/dsa-4233[WEB]
- https://www.bountysource.com/issues/58293083-rsa-key-generation-computation-of-iterations-for-mr-primality-test[WEB]
- https://security.netapp.com/advisory/ntap-20190204-0003[WEB]
- https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E[WEB]
- https://github.com/bcgit/bc-java/wiki/CVE-2018-1000180[WEB]
- https://github.com/advisories/GHSA-xqj7-j8j5-f2xr[ADVISORY]
- https://access.redhat.com/errata/RHSA-2019:0877[WEB]
- https://access.redhat.com/errata/RHSA-2018:2669[WEB]
- https://access.redhat.com/errata/RHSA-2018:2643[WEB]
- https://access.redhat.com/errata/RHSA-2018:2428[WEB]
- https://access.redhat.com/errata/RHSA-2018:2425[WEB]
- https://access.redhat.com/errata/RHSA-2018:2424[WEB]
- https://access.redhat.com/errata/RHSA-2018:2423[WEB]
- http://www.securityfocus.com/bid/106567[WEB]