Vulnerability · Published May 9, 2024 · Assigned by mitre
CVE-2024-29857
High 7.5
In plain English
A high-severity out-of-bounds read in the bouncycastle package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | bouncycastle | no fix listed | DEBIAN-CVE-2024-29857 |
| Debian:13 | bouncycastle | 1.80-1 | DEBIAN-CVE-2024-29857 |
| Debian:14 | bouncycastle | 1.80-1 | DEBIAN-CVE-2024-29857 |
| Maven | org.bouncycastle:bc-fips | 1.0.2.5 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bcprov-jdk14 | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bcprov-jdk15on | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bcprov-jdk15to18 | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bcprov-jdk18on | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bctls-jdk14 | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bctls-jdk15to18 | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bctls-jdk18on | 1.78 | GHSA-8xfc-gm6g-vgpv |
| NuGet | bouncycastle | no fix listed | GHSA-8xfc-gm6g-vgpv |
| NuGet | bouncycastle.cryptography | 2.3.1 | GHSA-8xfc-gm6g-vgpv |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H