CVE-2024-30172 json
Bouncy Castle crafted signature and public key can be used to trigger an infinite loop
published 2024-05-09 2 y ago modified 2026-09-10 1 mo ago also GHSA-m44j-cfrm-g8qc , EUVD-2024-1681
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
An issue was discovered in Bouncy Castle Java Cryptography APIs before 1.78. An Ed25519 verification code infinite loop can occur via a crafted signature and public key.
Patch / fix
- maven org.bouncycastle:bcprov-jdk18on 1.78
- maven org.bouncycastle:bcprov-jdk15to18 1.78
- maven org.bouncycastle:bcprov-jdk14 1.78
- maven org.bouncycastle:bctls-jdk18on 1.78
- maven org.bouncycastle:bctls-jdk14 1.78
- maven org.bouncycastle:bctls-jdk15to18 1.78
- nuget BouncyCastle.Cryptography 2.3.1
- bouncycastle legion-of-the-bouncy-castle-java-crytography-api 1.78
- bouncycastle Debian 14, Debian 13 1.80-1
debian advisories DEBIAN-CVE-2024-30172
- bouncycastle Ubuntu Pro 24.04 LTS 1.77-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2024-30172
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- eap7-netty jboss enterprise application platform 7.4 4.1.108-1.Final_redhat_00001.1.el9eap
- eap7-jandex jboss enterprise application platform 7.4 2.4.5-1.Final_redhat_00001.1.el9eap
- eap7-wildfly jboss enterprise application platform 7.4 7.4.18-1.GA_redhat_00001.1.el9eap
- eap7-undertow jboss enterprise application platform 7.4 2.2.33-1.SP1_redhat_00001.1.el9eap
- eap7-hal-console jboss enterprise application platform 7.4 3.3.23-1.Final_redhat_00001.1.el9eap
- eap7-ironjacamar jboss enterprise application platform 7.4 1.5.17-1.Final_redhat_00001.1.el9eap
- eap7-netty-codec jboss enterprise application platform 7.4 4.1.108-1.Final_redhat_00001.1.el9eap
- eap7-bouncycastle jboss enterprise application platform 7.4 1.78.1-1.redhat_00002.1.el9eap
red hat advisories RHSA-2024:5145RHSA-2024:5144RHSA-2024:5143RHSA-2024:5481RHSA-2024:5479
- bouncycastle openSUSE Tumbleweed 1.78.1-1.1
opensuse advisories openSUSE-SU-2024:13914-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-2024-30172 updated cvss 7.5
org.bouncycastle:bcprov-jdk18on: Infinite loop in ED25519 verification in the ScalarUtil class
-
Red Hat Cryostat 2 org.bouncycastle:bcprov-jdk18on org.bouncycastle:bcprov-jdk18onaffected: workaround, no fix planned “Will not fix”
-
Red Hat build of Apache Camel 4 for Quarkus 3 org.bouncycastle:bcprov-jdk18on org.bouncycastle:bcprov-jdk18on Red Hat Build of Keycloak org.bouncycastle:bcprov-jdk18on org.bouncycastle:bcprov-jdk18onaffected: workaround, no fix available
-
Red Hat streams for Apache Kafka org.bouncycastle:bcprov-jdk18on org.bouncycastle:bcprov-jdk18onaffected: workaround, no fix planned “Will not fix”
-
Red Hat AMQ Broker 7fixed: vendor fix RHSA-2024:4271
-
Red Hat Build of Apache Camel 4.4 for Quarkus 3.8fixed: vendor fix RHSA-2024:4505
-
Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2fixed: vendor fix RHSA-2024:4884
-
Red Hat build of Quarkus 3.8.5.redhat bcprov-jdk18on 1.78.1.redhat-00002fixed: vendor fix RHSA-2024:4326
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-bouncycastle 1.78.1-1.redhat_00002.1.el7eap, eap7-bouncycastle-pg 1.78.1-1.redhat_00002.1.el7eap, eap7-bouncycastle-mail 1.78.1-1.redhat_00002.1.el7eap, eap7-bouncycastle-pkix 1.78.1-1.redhat_00002.1.el7eap, eap7-bouncycastle-prov 1.78.1-1.redhat_00002.1.el7eap, eap7-bouncycastle-util 1.78.1-1.redhat_00002.1.el7eapfixed: vendor fix RHSA-2024:5143
show 7 moreshow fewer
-
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-bouncycastle 1.78.1-1.redhat_00002.1.el8eap, eap7-bouncycastle-pg 1.78.1-1.redhat_00002.1.el8eap, eap7-bouncycastle-mail 1.78.1-1.redhat_00002.1.el8eap, eap7-bouncycastle-pkix 1.78.1-1.redhat_00002.1.el8eap, eap7-bouncycastle-prov 1.78.1-1.redhat_00002.1.el8eap, eap7-bouncycastle-util 1.78.1-1.redhat_00002.1.el8eap, +1 morefixed: vendor fix RHSA-2024:5144
-
Red Hat JBoss EAP 7.4 for RHEL 9 eap7-bouncycastle 1.78.1-1.redhat_00002.1.el9eap, eap7-bouncycastle-pg 1.78.1-1.redhat_00002.1.el9eap, eap7-bouncycastle-mail 1.78.1-1.redhat_00002.1.el9eap, eap7-bouncycastle-pkix 1.78.1-1.redhat_00002.1.el9eap, eap7-bouncycastle-prov 1.78.1-1.redhat_00002.1.el9eap, eap7-bouncycastle-util 1.78.1-1.redhat_00002.1.el9eapfixed: vendor fix RHSA-2024:5145
-
Red Hat JBoss EAP 8.0 for RHEL 8 eap8-bouncycastle 1.78.1-1.redhat_00001.1.el8eap, eap8-bouncycastle-pg 1.78.1-1.redhat_00001.1.el8eap, eap8-bouncycastle-pkix 1.78.1-1.redhat_00001.1.el8eap, eap8-bouncycastle-prov 1.78.1-1.redhat_00001.1.el8eap, eap8-bouncycastle-util 1.78.1-1.redhat_00001.1.el8eap, eap8-bouncycastle-jmail 1.78.1-1.redhat_00001.1.el8eapfixed: vendor fix RHSA-2024:5479
-
Red Hat JBoss EAP 8.0 for RHEL 9 eap8-jaxb 4.0.5-2.redhat_00001.1.el9eap, eap8-txw2 4.0.5-2.redhat_00001.1.el9eap, eap8-xsom 4.0.5-2.redhat_00001.1.el9eap, eap8-angus 2.0.3-1.redhat_00001.1.el9eap, eap8-rngom 4.0.5-2.redhat_00001.1.el9eap, eap8-wss4j 3.0.3-1.redhat_00008.1.el9eap, +181 morefixed: vendor fix RHSA-2024:5481
-
Red Hat JBoss Enterprise Application Platform bcprov-jdk18on 1.78.1.redhat-00002fixed: vendor fix RHSA-2024:5147
-
Red Hat JBoss Enterprise Application Platform 8fixed: vendor fix RHSA-2024:5482
-
Red Hat Cryostat 3 org.bouncycastle:bcprov-jdk18on org.bouncycastle:bcprov-jdk18on Red Hat build of Apache Camel for Spring Boot 3 org.bouncycastle:bcprov-jdk18on org.bouncycastle:bcprov-jdk18on Red Hat build of Quarkus 3.8.5.redhat jna 5.8.0, lit 3.1.2, db2 1.19.6, h2 2.2.224, y18n 5.0.8, bson 4.11.1, +960 more Red Hat Data Grid 8 org.bouncycastle:bcprov-jdk18on org.bouncycastle:bcprov-jdk18on Red Hat Fuse 7 org.bouncycastle:bcprov-jdk18on org.bouncycastle:bcprov-jdk18on Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-wildfly 7.4.18-1.GA_redhat_00001.1.el7eap, eap7-jandex 2.4.5-1.Final_redhat_00001.1.el7eap, eap7-netty 4.1.108-1.Final_redhat_00001.1.el7eap, eap7-undertow 2.2.33-1.SP1_redhat_00001.1.el7eap, eap7-netty-all 4.1.108-1.Final_redhat_00001.1.el7eap, eap7-hal-console 3.3.23-1.Final_redhat_00001.1.el7eap, +47 morenot affected: vulnerable code not present
+5 more productsfewer
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-wildfly 7.4.18-1.GA_redhat_00001.1.el8eap, eap7-jandex 2.4.5-1.Final_redhat_00001.1.el8eap, eap7-netty 4.1.108-1.Final_redhat_00001.1.el8eap, eap7-undertow 2.2.33-1.SP1_redhat_00001.1.el8eap, eap7-netty-all 4.1.108-1.Final_redhat_00001.1.el8eap, eap7-hal-console 3.3.23-1.Final_redhat_00001.1.el8eap, +47 more Red Hat JBoss EAP 7.4 for RHEL 9 eap7-wildfly 7.4.18-1.GA_redhat_00001.1.el9eap, eap7-jandex 2.4.5-1.Final_redhat_00001.1.el9eap, eap7-netty 4.1.108-1.Final_redhat_00001.1.el9eap, eap7-undertow 2.2.33-1.SP1_redhat_00001.1.el9eap, eap7-hal-console 3.3.23-1.Final_redhat_00001.1.el9eap, eap7-ironjacamar 1.5.17-1.Final_redhat_00001.1.el9eap, +47 more Red Hat JBoss EAP 8.0 for RHEL 8 eap8-jaxb 4.0.5-2.redhat_00001.1.el8eap, eap8-txw2 4.0.5-2.redhat_00001.1.el8eap, eap8-xsom 4.0.5-2.redhat_00001.1.el8eap, eap8-angus 2.0.3-1.redhat_00001.1.el8eap, eap8-rngom 4.0.5-2.redhat_00001.1.el8eap, eap8-wss4j 3.0.3-1.redhat_00008.1.el8eap, +175 more Red Hat JBoss Enterprise Application Platform pom.xml, jansi.dll, libjansi.so, xsdlib 2013.6.1, isorelax 20090621, artemis-service.exe, +722 more Red Hat JBoss Enterprise Application Platform Expansion Pack org.bouncycastle:bcprov-jdk18on org.bouncycastle:bcprov-jdk18on
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
cisa ICSA-26-071-03 updated cvss 7.5
Siemens SIDIS Prime
-
Siemens SIDIS Prime < 4.0.800affected: fixed in V4.0.800
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.bouncycastle:bcprov-jdk18on | >=1.73, <1.78 |
1.78 |
| maven | org.bouncycastle:bcprov-jdk15to18 | >=1.73, <1.78 |
1.78 |
| maven | org.bouncycastle:bcprov-jdk14 | >=1.73, <1.78 |
1.78 |
| maven | org.bouncycastle:bctls-jdk18on | >=1.73, <1.78 |
1.78 |
| maven | org.bouncycastle:bctls-jdk14 | >=1.73, <1.78 |
1.78 |
| maven | org.bouncycastle:bctls-jdk15to18 | >=1.73, <1.78 |
1.78 |
| nuget | BouncyCastle | all versions |
no fix listed |
| nuget | BouncyCastle.Cryptography | <2.3.1 |
2.3.1 |
Affected products
- bouncycastle legion-of-the-bouncy-castle-java-crytography-api
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
github.com
/bcgit/bc-java/commit/1b9fd9b545e691bfb3941a9f6a797660c8860f02
web
-
github.com
/bcgit/bc-java/commit/9c165791b68a204678b48ec11e4e579754c2ea49
web
-
github.com
/bcgit/bc-java/commit/ebe1c75579170072dc59b8dee2b55ce31663178f
web
-
bouncycastle.org
/latest_releases.html
web
- security.netapp.com /advisory/ntap-20240614-0007/
-
nvd.nist.gov
/vuln/detail/CVE-2024-30172
advisory
-
github.com
/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9030172
web
-
github.com
/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9030172
web
-
security.netapp.com
/advisory/ntap-20240614-0007
web
Sources
- CVE List CVE-2024-30172
- GitHub Advisory GHSA-m44j-cfrm-g8qc
- NVD CVE-2024-30172
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.