An issue was discovered in ECCurve.java and ECCurve.cs in Bouncy Castle Java (BC Java)…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 11 fixed, 5 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-125 and the CVSS impact.
Summary
An issue was discovered in ECCurve.java and ECCurve.cs in Bouncy Castle Java (BC Java) before 1.78, BC Java LTS before 2.73.6, BC-FJA before 1.0.2.5, and BC C# .Net before 2.3.1. Importing an EC certificate with crafted F2m parameters can lead to excessive CPU consumption during the evaluation of the curve parameters.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | org.bouncycastle:bcprov-jdk18on (Maven) | before 1.78 | 1.78 | Patch available | GHSA-8xfc-gm6g-vgpv |
| — | org.bouncycastle:bcprov-jdk15on (Maven) | before 1.78 | 1.78 | Patch available | GHSA-8xfc-gm6g-vgpv |
| — | org.bouncycastle:bcprov-jdk15to18 (Maven) | before 1.78 | 1.78 | Patch available | GHSA-8xfc-gm6g-vgpv |
| — | org.bouncycastle:bcprov-jdk14 (Maven) | before 1.78 | 1.78 | Patch available | GHSA-8xfc-gm6g-vgpv |
| — | org.bouncycastle:bctls-jdk18on (Maven) | before 1.78 | 1.78 | Patch available | GHSA-8xfc-gm6g-vgpv |
| — | org.bouncycastle:bctls-jdk14 (Maven) | before 1.78 | 1.78 | Patch available | GHSA-8xfc-gm6g-vgpv |
| — | org.bouncycastle:bctls-jdk15to18 (Maven) | before 1.78 | 1.78 | Patch available | GHSA-8xfc-gm6g-vgpv |
| — | org.bouncycastle:bc-fips (Maven) | before 1.0.2.5 | 1.0.2.5 | Patch available | GHSA-8xfc-gm6g-vgpv |
| — | BouncyCastle (NuGet) | all versions | — | No fix listed | GHSA-8xfc-gm6g-vgpv |
| — | BouncyCastle.Cryptography (NuGet) | before 2.3.1 | 2.3.1 | Patch available | GHSA-8xfc-gm6g-vgpv |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- org.bouncycastle:bcprov-jdk18on (Maven) Vendor— Affected before 1.78 Fixed in 1.78 Patch available GHSA-8xfc-gm6g-vgpv
- org.bouncycastle:bcprov-jdk15on (Maven) Vendor— Affected before 1.78 Fixed in 1.78 Patch available GHSA-8xfc-gm6g-vgpv
- org.bouncycastle:bcprov-jdk15to18 (Maven) Vendor— Affected before 1.78 Fixed in 1.78 Patch available GHSA-8xfc-gm6g-vgpv
- org.bouncycastle:bcprov-jdk14 (Maven) Vendor— Affected before 1.78 Fixed in 1.78 Patch available GHSA-8xfc-gm6g-vgpv
- org.bouncycastle:bctls-jdk18on (Maven) Vendor— Affected before 1.78 Fixed in 1.78 Patch available GHSA-8xfc-gm6g-vgpv
- org.bouncycastle:bctls-jdk14 (Maven) Vendor— Affected before 1.78 Fixed in 1.78 Patch available GHSA-8xfc-gm6g-vgpv
- org.bouncycastle:bctls-jdk15to18 (Maven) Vendor— Affected before 1.78 Fixed in 1.78 Patch available GHSA-8xfc-gm6g-vgpv
- org.bouncycastle:bc-fips (Maven) Vendor— Affected before 1.0.2.5 Fixed in 1.0.2.5 Patch available GHSA-8xfc-gm6g-vgpv
- BouncyCastle (NuGet) Vendor— Affected all versions Fixed in — No fix listed GHSA-8xfc-gm6g-vgpv
- BouncyCastle.Cryptography (NuGet) Vendor— Affected before 2.3.1 Fixed in 2.3.1 Patch available GHSA-8xfc-gm6g-vgpv
CPE names CISA-ADP · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:* | — | — | Legion of the Bouncy Castle Inc. |
| cpe:2.3:a:bouncycastle:bc-fja:*:*:*:*:*:*:*:* | — | — | Legion of the Bouncy Castle Inc. |
| cpe:2.3:a:bouncycastle:bc_c_.net:*:*:*:*:*:*:*:* | — | — | Legion of the Bouncy Castle Inc. |
- cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:* Versions — — ·Legion of the Bouncy Castle Inc.
- cpe:2.3:a:bouncycastle:bc-fja:*:*:*:*:*:*:*:* Versions — — ·Legion of the Bouncy Castle Inc.
- cpe:2.3:a:bouncycastle:bc_c_.net:*:*:*:*:*:*:*:* Versions — — ·Legion of the Bouncy Castle Inc.
Remediation
- Fix · GHSA-8xfc-gm6g-vgpv org.bouncycastle:bcprov-jdk18on (Maven) Fixed in 1.78 Advisory →
- Fix · GHSA-8xfc-gm6g-vgpv org.bouncycastle:bcprov-jdk15on (Maven) Fixed in 1.78 Advisory →
- Fix · GHSA-8xfc-gm6g-vgpv org.bouncycastle:bcprov-jdk15to18 (Maven) Fixed in 1.78 Advisory →
- Fix · GHSA-8xfc-gm6g-vgpv org.bouncycastle:bcprov-jdk14 (Maven) Fixed in 1.78 Advisory →
- Fix · GHSA-8xfc-gm6g-vgpv org.bouncycastle:bctls-jdk18on (Maven) Fixed in 1.78 Advisory →
- Fix · GHSA-8xfc-gm6g-vgpv org.bouncycastle:bctls-jdk14 (Maven) Fixed in 1.78 Advisory →
- Fix · GHSA-8xfc-gm6g-vgpv org.bouncycastle:bctls-jdk15to18 (Maven) Fixed in 1.78 Advisory →
- Fix · GHSA-8xfc-gm6g-vgpv org.bouncycastle:bc-fips (Maven) Fixed in 1.0.2.5 Advisory →
- Fix · GHSA-8xfc-gm6g-vgpv BouncyCastle.Cryptography (NuGet) Fixed in 2.3.1 Advisory →
Red Hat 11 advisories
- RHSA-2024:5479 Released 2024-08-15 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 8.0.3 Security update
- Red Hat JBoss EAP 8.0 for RHEL 8 eap8-activemq-artemis-2.21.0-5.redhat_00052.1.el8eap, eap8-activemq-artemis-cli-2.21.0-5.redhat_00052.1.el8eap, eap8-activemq-artemis-commons-2.21.0-5.redhat_00052.1.el8eap +47
- RHSA-2024:5481 Released 2024-08-15 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 8.0.3 Security update
- Red Hat JBoss EAP 8.0 for RHEL 9 eap8-activemq-artemis-2.21.0-5.redhat_00052.1.el9eap, eap8-activemq-artemis-cli-2.21.0-5.redhat_00052.1.el9eap, eap8-activemq-artemis-commons-2.21.0-5.redhat_00052.1.el9eap +47
- RHSA-2024:5482 Released 2024-08-15 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 8.0.3 Security update
- Red Hat JBoss Enterprise Application Platform 8
Show 8 more Red Hat advisories
- RHSA-2024:5147 Released 2024-08-08 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.18 Security update
- Red Hat JBoss Enterprise Application Platform io.netty.netty-codec-http-4.1.108.Final-redhat-00001.jar, io.undertow.undertow-core-2.2.33.SP1-redhat-00001.jar, org.bouncycastle.bcprov-jdk18on-1.78.1.redhat-00002.pom
- RHSA-2024:5144 Released 2024-08-08 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.18 Security update
- Red Hat JBoss EAP 7.4 for RHEL 8 eap7-bouncycastle-1.78.1-1.redhat_00002.1.el8eap, eap7-bouncycastle-mail-1.78.1-1.redhat_00002.1.el8eap, eap7-bouncycastle-pg-1.78.1-1.redhat_00002.1.el8eap +47
- RHSA-2024:5143 Released 2024-08-08 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.18 Security update
- Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-bouncycastle-1.78.1-1.redhat_00002.1.el7eap, eap7-bouncycastle-mail-1.78.1-1.redhat_00002.1.el7eap, eap7-bouncycastle-pg-1.78.1-1.redhat_00002.1.el7eap +47
- RHSA-2024:5145 Released 2024-08-08 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.18 Security update
- Red Hat JBoss EAP 7.4 for RHEL 9 eap7-bouncycastle-1.78.1-1.redhat_00002.1.el9eap, eap7-bouncycastle-mail-1.78.1-1.redhat_00002.1.el9eap, eap7-bouncycastle-pg-1.78.1-1.redhat_00002.1.el9eap +47
- RHSA-2024:4884 Released 2024-07-25 · Red Hat rating ImportantRed Hat Build of Apache Camel 4.4.1 for Spring Boot security update.
- Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2
- RHSA-2024:4505 Released 2024-07-11 · Red Hat rating ModerateRed Hat Build of Apache Camel 4.4 for Quarkus 3.8 update (RHBQ 3.8.5.GA)
- Red Hat Build of Apache Camel 4.4 for Quarkus 3.8
- RHSA-2024:4326 Released 2024-07-08 · Red Hat rating ModerateRed Hat build of Quarkus 3.8.5 release and security update
- Red Hat build of Quarkus 3.8.5.redhat org.bouncycastle.bcprov-jdk18on-1.78.1.redhat-00002.jar
- RHSA-2024:4271 Released 2024-07-02 · Red Hat rating ImportantRed Hat AMQ Broker 7.12.1 release and security update
- Red Hat AMQ Broker 7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of Keycloak | Affected | No fix yet |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Affected | No fix yet |
| Red Hat build of Apache Camel 4 for Quarkus 3 | Affected | No fix yet |
| Red Hat build of Apache Camel for Spring Boot 3 | Affected | No fix planned: Will not fix |
| streams for Apache Kafka | Affected | No fix planned: Will not fix |
| Red Hat AMQ Broker 7 | Fixed | RHSA-2024:4271 |
| Red Hat Build of Apache Camel 4.4 for Quarkus 3.8 | Fixed | RHSA-2024:4505 |
| Red Hat JBoss EAP 7.4 for RHEL 7 Server | Fixed | RHSA-2024:5143 |
| Red Hat JBoss EAP 7.4 for RHEL 8 | Fixed | RHSA-2024:5144 |
| Red Hat JBoss EAP 7.4 for RHEL 9 | Fixed | RHSA-2024:5145 |
| Red Hat JBoss EAP 8.0 for RHEL 8 | Fixed | RHSA-2024:5479 |
| Red Hat JBoss EAP 8.0 for RHEL 9 | Fixed | RHSA-2024:5481 |
| Red Hat JBoss Enterprise Application Platform | Fixed | RHSA-2024:5147 |
| Red Hat JBoss Enterprise Application Platform 8 | Fixed | RHSA-2024:5482 |
| Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2 | Fixed | RHSA-2024:4884 |
| Red Hat build of Quarkus 3.8.5.redhat | Fixed | RHSA-2024:4326 |
Not affected: 9 products
- Cryostat 2
- Red Hat Data Grid 8
- Red Hat Fuse 7
- Red Hat JBoss EAP 7.4 for RHEL 7 Server
- Red Hat JBoss EAP 7.4 for RHEL 8
- Red Hat JBoss EAP 7.4 for RHEL 9
- Red Hat JBoss EAP 8.0 for RHEL 8
- Red Hat JBoss Enterprise Application Platform
- Red Hat build of Quarkus 3.8.5.redhat
Timeline
- 2026-10-02 Threatist record created from CVE-2024-29857
- 2026-10-03 Alias added: GHSA-8xfc-gm6g-vgpv
References
Other 7
- https://www.bouncycastle.org/latest_releases.html
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9029857
- https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9029857
- https://github.com/bcgit/bc-csharp/commit/56daa6eac526f165416d17f661422d60de0dfd63
- https://github.com/bcgit/bc-java/commit/efc498ca4caa340ac2fe11f2efee06c1a294501f
- https://github.com/bcgit/bc-java/commit/fee80dd230e7fba132d03a34f1dd1d6aae0d0281
- https://security.netapp.com/advisory/ntap-20241206-0008
Sources
- CVE-2024-29857 · CVE Program
- CVE-2024-29857 · NVD
- FIRST EPSS
- GHSA-8xfc-gm6g-vgpv · GitHub Advisory Database · CC BY 4.0
- CVE-2024-29857 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences