CVE-2016-1000343
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.
What to do
Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | bouncycastle | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | bouncycastle | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | bouncycastle | Fix pending | UBUNTU-CVE-2016-1000343 | |
| Ubuntu 14.04 | bouncycastle | Fixed | 1.49+dfsg-2ubuntu0.1 | UBUNTU-CVE-2016-1000343 |
| Debian 14 | bouncycastle | Fixed | 1.56-1 | DEBIAN-CVE-2016-1000343 |
| Debian 13 | bouncycastle | Fixed | 1.56-1 | DEBIAN-CVE-2016-1000343 |
| Debian 12 | bouncycastle | Fixed | 1.56-1 | DEBIAN-CVE-2016-1000343 |
| Maven library | org.bouncycastle:bcprov-jdk14 | Fixed | 1.56 | GHSA-rrvx-pwf8-p59p |
| Maven library | org.bouncycastle:bcprov-jdk15 | Fixed | 1.56 | GHSA-rrvx-pwf8-p59p |
| Maven library | org.bouncycastle:bcprov-jdk15on | Fixed | 1.56 | GHSA-rrvx-pwf8-p59p |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:2669 (vendor-advisory)
- https://usn.ubuntu.com/3727-1/ (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2927 (vendor-advisory)
References
- https://lists.debian.org/debian-lts-announce/2018/07/msg00009.html
- https://access.redhat.com/errata/RHSA-2018:2669
- https://usn.ubuntu.com/3727-1/
- https://access.redhat.com/errata/RHSA-2018:2927
- https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://security.netapp.com/advisory/ntap-20181127-0004/
- https://github.com/bcgit/bc-java/commit/50a53068c094d6cff37659da33c9b4505becd389#diff-5578e61500abb2b87b300d3114bdfd7d
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.