CVE-2016-1000343 json
In Bouncy Castle JCE Provider the DSA key pair generator generates a weak private key if used with default values
published 8y ago modified 4mo ago also GHSA-rrvx-pwf8-p59p , EUVD-2018-0689
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.3%
- EPSS 3.3% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.bouncycastle:bcprov-jdk14 1.56
- maven org.bouncycastle:bcprov-jdk15 1.56
- maven org.bouncycastle:bcprov-jdk15on 1.56
- bouncycastle Debian 14, Debian 13, Debian 12 1.56-1
debian advisories DEBIAN-CVE-2016-1000343
- bouncycastle Ubuntu 14.04 LTS 1.49+dfsg-2ubuntu0.1
ubuntu advisories UBUNTU-CVE-2016-1000343
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- v8 satellite capsule 6.4 1:3.14.5.10-19.el7sat
- tfm satellite capsule 6.4, satellite 6.4 4.0-3.el7sat
- kobo satellite capsule 6.4, satellite 6.4 0.5.1-1.el7sat
- pulp satellite capsule 6.4, satellite 6.4 2.16.4.1-1.el7sat
- gofer satellite capsule 6.4, satellite 6.4 2.12.1-1.el7sat
- ostree satellite capsule 6.4, satellite 6.4 2017.1-2.atomic.el7
- SOAPpy satellite capsule 6.4, satellite 6.4 0.11.6-17.el7
- foreman satellite capsule 6.4, satellite 6.4 1.18.0.37-1.el7sat
red hat advisories RHSA-2018:2927
- bouncycastle openSUSE Tumbleweed 1.68-3.2
opensuse advisories openSUSE-SU-2024:10661-1
Is CVE-2016-1000343 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-1000343 updated cvss 2.9
bouncycastle: DSA key pair generator generates a weak private key by default
-
Red Hat JBoss Data Virtualization 6 bouncycastle bouncycastleaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Fuse 6 bouncycastle bouncycastle Red Hat Software Collections rh-eclipse46-bouncycastle, rh-eclipse46-bouncycastle-javadoc Red Hat Subscription Asset Manager bouncycastleaffected: no fix planned “Will not fix”
-
Red Hat Fuse 7fixed: vendor fix RHSA-2018:2669
-
Red Hat Satellite 6.4 tfm 4.0-3.el7sat, kobo 0.5.1-1.el7sat, SOAPpy 0.11.6-17.el7, candlepin 2.4.8-1.el7, gofer 2.12.1-1.el7sat, liquibase 3.1.0-1.el7, +383 more Red Hat Satellite Capsule 6.4 tfm 4.0-3.el7sat, kobo 0.5.1-1.el7sat, SOAPpy 0.11.6-17.el7, gofer 2.12.1-1.el7sat, katello 3.7.0-8.el7sat, pulp 2.16.4.1-1.el7sat, +217 morefixed: vendor fix RHSA-2018:2927
-
Red Hat JBoss Developer Studio 11 bouncycastle bouncycastle Red Hat JBoss Data Grid 7 bouncycastle bouncycastle Red Hat JBoss Enterprise Application Platform 7 bouncycastle bouncycastle Red Hat JBoss Fuse Integration Service 2 bouncycastle bouncycastle Red Hat OpenShift Application Runtimes bouncycastle bouncycastle Red Hat Single Sign-On 7 bouncycastle bouncycastlenot affected: vulnerable code not present
+1 more productsfewer
Red Hat Virtualization 4 eap7-bouncycastle
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.25% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.bouncycastle:bcprov-jdk14 | <1.56 |
1.56 |
| maven | org.bouncycastle:bcprov-jdk15 | <1.56 |
1.56 |
| maven | org.bouncycastle:bcprov-jdk15on | <1.56 |
1.56 |
Classification
- Weakness
-
- CWE-310 Cryptographic Issues
References
-
github.com
/bcgit/bc-java/commit/50a53068c094d6cff37659da33c9b4505becd389#diff-5578e61500abb2b87b300d3114bdfd7d
web, patch, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2669
vendor-advisory, web
-
usn.ubuntu.com
/3727-1/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:2927
vendor-advisory, web
-
lists.debian.org
/debian-lts-announce/2018/07/msg00009.html
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E
mailing-list
-
oracle.com
/security-alerts/cpuoct2020.html
web
- security.netapp.com /advisory/ntap-20181127-0004/
-
nvd.nist.gov
/vuln/detail/CVE-2016-1000343
advisory
-
github.com
/advisories/GHSA-rrvx-pwf8-p59p
advisory
-
github.com
/bcgit/bc-java
package
-
lists.apache.org
/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E
web
-
security.netapp.com
/advisory/ntap-20181127-0004
web
-
usn.ubuntu.com
/3727-1
web
Sources
- CVE List CVE-2016-1000343
- GitHub Advisory GHSA-rrvx-pwf8-p59p
- NVD CVE-2016-1000343
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.