CVE-2016-1000343
HIGH7.5EPSS 1.1%In Bouncy Castle JCE Provider the DSA key pair generator generates a weak private key if used with default values
Published: 10/17/2018Modified: 4/28/2026
Description
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.
Affected packages (4)
- Debian/bouncycastlefrom 0, < 1.56-1
- Maven/org.bouncycastle:bcprov-jdk14from 0, < 1.56
- Maven/org.bouncycastle:bcprov-jdk15from 0, < 1.56
- Maven/org.bouncycastle:bcprov-jdk15onfrom 0, < 1.56
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (12)
- ADVISORYhttps://github.com/advisories/GHSA-rrvx-pwf8-p59p
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2016-1000343
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2016-1000343
- PATCHhttps://github.com/bcgit/bc-java
- WEBhttps://access.redhat.com/errata/RHSA-2018:2669
- WEBhttps://access.redhat.com/errata/RHSA-2018:2927
- WEBhttps://github.com/bcgit/bc-java/commit/50a53068c094d6cff37659da33c9b4505becd389#diff-5578e61500abb2b87b300d3114bdfd7d
- WEBhttps://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E
- WEBhttps://lists.debian.org/debian-lts-announce/2018/07/msg00009.html
- WEBhttps://security.netapp.com/advisory/ntap-20181127-0004
- WEBhttps://usn.ubuntu.com/3727-1
- WEBhttps://www.oracle.com/security-alerts/cpuoct2020.html