CVE-2024-29857
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | bouncycastle | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | bouncycastle | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | bouncycastle | Fix pending | 1.77-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-29857 |
| Ubuntu 22.04 | bouncycastle | Fix pending | 1.68-5ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-29857 |
| Ubuntu 20.04 | bouncycastle | Fix pending | 1.61-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-29857 |
| Ubuntu 18.04 | bouncycastle | Fix pending | 1.59-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-29857 |
| Ubuntu 16.04 | bouncycastle | Fix pending | UBUNTU-CVE-2024-29857 | |
| Debian 14 | bouncycastle | Fixed | 1.80-1 | DEBIAN-CVE-2024-29857 |
| Debian 13 | bouncycastle | Fixed | 1.80-1 | DEBIAN-CVE-2024-29857 |
| Debian 12 | bouncycastle | Fix pending | DEBIAN-CVE-2024-29857 | |
| Maven library | org.bouncycastle:bc-fips | Fixed | 1.0.2.5 | GHSA-8xfc-gm6g-vgpv |
| Maven library | org.bouncycastle:bcprov-jdk14 | Fixed | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven library | org.bouncycastle:bcprov-jdk15on | Fixed | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven library | org.bouncycastle:bcprov-jdk15to18 | Fixed | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven library | org.bouncycastle:bcprov-jdk18on | Fixed | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven library | org.bouncycastle:bctls-jdk14 | Fixed | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven library | org.bouncycastle:bctls-jdk15to18 | Fixed | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven library | org.bouncycastle:bctls-jdk18on | Fixed | 1.78 | GHSA-8xfc-gm6g-vgpv |
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.