Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcprov-jdk14
  4. ›
  5. CVE-2016-1000343

CVE-2016-1000343: In Bouncy Castle JCE Provider the DSA key pair generator generates a weak private key if used with default values

October 17, 2018 (updated September 12, 2025)

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.

References

  • access.redhat.com/errata/RHSA-2018:2669
  • access.redhat.com/errata/RHSA-2018:2927
  • github.com/advisories/GHSA-rrvx-pwf8-p59p
  • github.com/bcgit/bc-java
  • github.com/bcgit/bc-java/commit/50a53068c094d6cff37659da33c9b4505becd389
  • lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E
  • lists.debian.org/debian-lts-announce/2018/07/msg00009.html
  • nvd.nist.gov/vuln/detail/CVE-2016-1000343
  • security.netapp.com/advisory/ntap-20181127-0004
  • usn.ubuntu.com/3727-1
  • www.oracle.com/security-alerts/cpuoct2020.html

Code Behaviors & Features

Detect and mitigate CVE-2016-1000343 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.56

Fixed versions

  • 1.56

Solution

Upgrade to version 1.56 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Source file

maven/org.bouncycastle/bcprov-jdk14/CVE-2016-1000343.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 01 Oct 2025 00:18:45 +0000.