CVE-2018-1000180
Bouncy Castle has a flaw in the Low-level interface to RSA key pair generator
Description
Bouncy Castle BC 1.54 - 1.59, BC-FJA 1.0.0, BC-FJA 1.0.1 and earlier have a flaw in the Low-level interface to RSA key pair generator, specifically RSA Key Pairs generated in low-level API with added certainty may have less M-R tests than expected. This appears to be fixed in versions BC 1.60 beta 4 and later, BC-FJA 1.0.2 and later.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle » bcprov-jdk14 | < 1.60 | 1.60 |
| org.bouncycastle » bcprov-jdk15 | < 1.60 | 1.60 |
| org.bouncycastle » bcprov-jdk15on | < 1.60 | 1.60 |
Blast radius
55% of the dependent artifacts (14,984) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 45,046 |
| 2 hops | 321,288 |
| 3 hops | 757,370 |
| 4 hops | 565,609 |
| 5 hops | 326,482 |
| 6 hops | 135,150 |
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-2018-1000180
- Webhttps://github.com/bcgit/bc-java/commit/22467b6e8fe19717ecdf201c0cf91bacf04a55ad
- Webhttps://github.com/bcgit/bc-java/commit/73780ac522b7795fc165630aba8d5f5729acc839
- Webhttps://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- Webhttps://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- Webhttps://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- Webhttps://www.oracle.com/security-alerts/cpuoct2020.html
- Webhttps://www.oracle.com/security-alerts/cpuapr2020.html
- Webhttps://www.oracle.com/security-alerts/cpuApr2021.html
- Webhttps://www.debian.org/security/2018/dsa-4233
- Webhttps://www.bountysource.com/issues/58293083-rsa-key-generation-computation-of-iterations-for-mr-primality-test
- Webhttps://security.netapp.com/advisory/ntap-20190204-0003
- Webhttps://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E
- Webhttps://github.com/bcgit/bc-java/wiki/CVE-2018-1000180
- Advisoryhttps://github.com/advisories/GHSA-xqj7-j8j5-f2xr
- Webhttps://access.redhat.com/errata/RHSA-2019:0877
- Webhttps://access.redhat.com/errata/RHSA-2018:2669
- Webhttps://access.redhat.com/errata/RHSA-2018:2643
- Webhttps://access.redhat.com/errata/RHSA-2018:2428
- Webhttps://access.redhat.com/errata/RHSA-2018:2425
- Webhttps://access.redhat.com/errata/RHSA-2018:2424
- Webhttps://access.redhat.com/errata/RHSA-2018:2423
- Webhttp://www.securityfocus.com/bid/106567
