CVE-2018-1000180 json
Bouncy Castle has a flaw in the Low-level interface to RSA key pair generator
published 2018-06-05 8 y ago modified 2026-06-17 4 mo ago also GHSA-xqj7-j8j5-f2xr , EUVD-2018-0718
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.bouncycastle:bcprov-jdk14 1.60
- maven org.bouncycastle:bcprov-jdk15 1.60
- maven org.bouncycastle:bcprov-jdk15on 1.60
- oracle communications_converged_application_server 7.0.0.1
- oracle communications_webrtc_session_controller 7.2
- bouncycastle Debian 14, Debian 13, Debian 12 1.59-2
debian advisories DEBIAN-CVE-2018-1000180
- eap7-guava jboss enterprise application platform 7.1 25.0.0-1.redhat_1.1.ep7.el7
- eap7-jberet jboss enterprise application platform 7.1 1.2.6-2.Final_redhat_1.1.ep7.el7
- eap7-wildfly jboss enterprise application platform 7.1 7.1.4-1.GA_redhat_1.1.ep7.el7
- eap7-narayana jboss enterprise application platform 7.1 5.5.32-1.Final_redhat_1.1.ep7.el7
- eap7-resteasy jboss enterprise application platform 7.1 3.0.26-1.Final_redhat_1.1.ep7.el7
- eap7-undertow jboss enterprise application platform 7.1 1.4.18-7.SP8_redhat_1.1.ep7.el7
- eap7-hibernate jboss enterprise application platform 7.1 5.1.15-1.Final_redhat_1.1.ep7.el7
- eap7-ironjacamar jboss enterprise application platform 7.1 1.4.10-1.Final_redhat_1.1.ep7.el7
red hat advisories RHSA-2018:2424RHSA-2018:2423RHSA-2018:2643
- bouncycastle openSUSE Tumbleweed 1.68-3.2
opensuse advisories openSUSE-SU-2024:10661-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1000180 updated cvss 4.8
bouncycastle: flaw in the low-level interface to RSA key pair generator
-
Red Hat JBoss Developer Studio 11 bouncycastle bouncycastle Red Hat JBoss Data Virtualization 6 bouncycastle bouncycastleaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Fuse 6 bouncycastle bouncycastleaffected: no fix planned “Will not fix”
-
Red Hat JBoss Fuse Integration Service 2 bouncycastle bouncycastleaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Application Runtimes bouncycastle bouncycastleaffected: no fix available
-
Red Hat Satellite 6 bouncycastle Red Hat Software Collections rh-eclipse46-bouncycastle, rh-eclipse46-bouncycastle-javadocaffected: no fix planned “Will not fix”
-
Red Hat Fuse 7fixed: vendor fix RHSA-2018:2669
-
Red Hat JBoss EAP 7.1fixed: vendor fix RHSA-2018:2425
-
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6 Server eap7-guava 25.0.0-1.redhat_1.1.ep7.el6, eap7-wildfly 7.1.4-1.GA_redhat_1.1.ep7.el6, eap7-jberet 1.2.6-2.Final_redhat_1.1.ep7.el6, eap7-bouncycastle 1.56.0-5.redhat_3.1.ep7.el6, eap7-undertow 1.4.18-7.SP8_redhat_1.1.ep7.el6, eap7-narayana 5.5.32-1.Final_redhat_1.1.ep7.el6, +101 morefixed: vendor fix RHSA-2018:2423
show 5 moreshow fewer
-
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7 Server eap7-guava 25.0.0-1.redhat_1.1.ep7.el7, eap7-wildfly 7.1.4-1.GA_redhat_1.1.ep7.el7, eap7-jberet 1.2.6-2.Final_redhat_1.1.ep7.el7, eap7-bouncycastle 1.56.0-5.redhat_3.1.ep7.el7, eap7-undertow 1.4.18-7.SP8_redhat_1.1.ep7.el7, eap7-narayana 5.5.32-1.Final_redhat_1.1.ep7.el7, +101 morefixed: vendor fix RHSA-2018:2424
-
Red Hat Single Sign-On 7.2.4 zipfixed: vendor fix RHSA-2018:2428
-
Red Hat Virtualization 4 Hypervisor for RHEL 7 rhvm-appliance 4.2-20180828.0.el7 Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts rhvm-appliance 4.2-20180828.0.el7fixed: vendor fix RHSA-2018:2643
-
Red Hat Text-Only RHOARfixed: vendor fix RHSA-2019:0877
-
Red Hat JBoss Data Grid 7 bouncycastle bouncycastle Red Hat Single Sign-On 7 bouncycastle bouncycastle Red Hat Subscription Asset Manager bouncycastlenot affected: vulnerable code not present
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.42% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
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.60 |
1.60 |
| maven | org.bouncycastle:bcprov-jdk15 | <1.60 |
1.60 |
| maven | org.bouncycastle:bcprov-jdk15on | <1.60 |
1.60 |
Classification
- Weakness
-
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
References
-
github.com
/bcgit/bc-java/commit/22467b6e8fe19717ecdf201c0cf91bacf04a55ad
web, patch, third-party-advisory
-
github.com
/bcgit/bc-java/commit/73780ac522b7795fc165630aba8d5f5729acc839
web, patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpujan2019-5072801.html
web, patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpuapr2019-5072813.html
web, patch, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190204-0003/
patch, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2428
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2669
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2643
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2424
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2423
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2425
vendor-advisory, web, third-party-advisory
-
debian.org
/security/2018/dsa-4233
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:0877
vendor-advisory, web, third-party-advisory
-
lists.apache.org
/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E
mailing-list
-
securityfocus.com
/bid/106567
vdb-entry, web, third-party-advisory
-
oracle.com
/security-alerts/cpuapr2020.html
web
-
oracle.com
/technetwork/security-advisory/cpujul2019-5072835.html
web
-
oracle.com
/security-alerts/cpuoct2020.html
web
-
bountysource.com
/issues/58293083-rsa-key-generation-computation-of-iterations-for-mr-primality-test
web, third-party-advisory
-
github.com
/bcgit/bc-java/wiki/CVE-2018-1000180
web
-
oracle.com
/security-alerts/cpuApr2021.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2018-1000180
advisory
-
security.netapp.com
/advisory/ntap-20190204-0003
web
-
lists.apache.org
/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E
web
-
github.com
/advisories/GHSA-xqj7-j8j5-f2xr
advisory
Sources
- CVE List CVE-2018-1000180
- GitHub Advisory GHSA-xqj7-j8j5-f2xr
- NVD CVE-2018-1000180
Fencer Vulns 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.