HIGH7.5
GHSA-rrvx-pwf8-p59p
In Bouncy Castle JCE Provider the DSA key pair generator generates a weak private key if used with default values
Quick fix
GHSA-rrvx-pwf8-p59p — org.bouncycastle:bcprov-jdk14: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.56</version> for org.bouncycastle:bcprov-jdk14Details
In the Bouncy Castle JCE Provider version 1.55 and earlier the DSA key pair generator generates a weak private key if used with default values. If the JCA key pair generator is not explicitly initialised with DSA parameters, 1.55 and earlier generates a private value assuming a 1024 bit key size. In earlier releases this can be dealt with by explicitly passing parameters to the key pair generator.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.bouncycastle:bcprov-jdk14
Introduced in:
0Fixed in: 1.56Fix
# pom.xml: bump <version>1.56</version> for org.bouncycastle:bcprov-jdk14Maven/org.bouncycastle:bcprov-jdk15
Introduced in:
0Fixed in: 1.56Fix
# pom.xml: bump <version>1.56</version> for org.bouncycastle:bcprov-jdk15Maven/org.bouncycastle:bcprov-jdk15on
Introduced in:
0Fixed in: 1.56Fix
# pom.xml: bump <version>1.56</version> for org.bouncycastle:bcprov-jdk15onReferences
- https://nvd.nist.gov/vuln/detail/CVE-2016-1000343[ADVISORY]
- https://github.com/bcgit/bc-java/commit/50a53068c094d6cff37659da33c9b4505becd389#diff-5578e61500abb2b87b300d3114bdfd7d[WEB]
- https://access.redhat.com/errata/RHSA-2018:2669[WEB]
- https://access.redhat.com/errata/RHSA-2018:2927[WEB]
- https://github.com/advisories/GHSA-rrvx-pwf8-p59p[ADVISORY]
- https://github.com/bcgit/bc-java[PACKAGE]
- https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E[WEB]
- https://lists.debian.org/debian-lts-announce/2018/07/msg00009.html[WEB]
- https://security.netapp.com/advisory/ntap-20181127-0004[WEB]
- https://usn.ubuntu.com/3727-1[WEB]
- https://www.oracle.com/security-alerts/cpuoct2020.html[WEB]