CVE-2016-1000343
In Bouncy Castle JCE Provider the DSA key pair generator generates a weak private key if used with default values
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 Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle » bcprov-jdk14 | < 1.56 | 1.56 |
| org.bouncycastle » bcprov-jdk15 | < 1.56 | 1.56 |
| org.bouncycastle » bcprov-jdk15on | < 1.56 | 1.56 |
Blast radius
51% of the dependent artifacts (11,045) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 32,053 |
| 2 hops | 287,831 |
| 3 hops | 712,990 |
| 4 hops | 535,597 |
| 5 hops | 314,829 |
| 6 hops | 128,443 |
Most used dependents
- org.testcontainers » testcontainers4,109 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.bouncycastle » bcpkix-jdk15on2,867 usages
- com.android.tools.build » gradle2,197 usages
- org.seleniumhq.selenium » selenium-java2,089 usages
- com.squareup.okhttp3 » mockwebserver1,987 usages
- com.nimbusds » nimbus-jose-jwt1,826 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- org.testcontainers » postgresql1,441 usages
- org.springframework.cloud » spring-cloud-starter-openfeign1,389 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- com.auth0 » java-jwt1,334 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2016-1000343
- Webhttps://github.com/bcgit/bc-java/commit/50a53068c094d6cff37659da33c9b4505becd389#diff-5578e61500abb2b87b300d3114bdfd7d
- Webhttps://access.redhat.com/errata/RHSA-2018:2669
- Webhttps://access.redhat.com/errata/RHSA-2018:2927
- Advisoryhttps://github.com/advisories/GHSA-rrvx-pwf8-p59p
- Packagehttps://github.com/bcgit/bc-java
- 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
