VDB

CVE-2024-29857

CVE-2024-29857 PUBLISHED CVSS 7.5 HIGH

Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.

Reported by mitre · Published May 9, 2024

bctls-jdk14 is fixed in 1.78 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.bouncycastle:bctls-jdk14Maven Central1.78
org.bouncycastle:bc-fipsMaven Central1.0.2.5
org.bouncycastle:bcprov-jdk15to18Maven Central1.78
org.bouncycastle:bctls-jdk15to18Maven Central1.78
org.bouncycastle:bcprov-jdk15onMaven Central1.78
org.bouncycastle:bcprov-jdk18onMaven Central1.78
ruby3.2-bouncy-castle-javaChainguard1.5.0146.1-r4
keycloak-fipsChainguard25.0.0-r0
solr-9Chainguard9.10.1-r14
gradle-8Chainguard8.7.0-r4
bouncycastle-utilAmazon Linux1.70-4.amzn2023.0.5
sonarqube-10Chainguard25.2.0.102705-r0

8 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
chainguardruby3.2-bouncy-castle-java0
Mavenorg.bouncycastle:bc-fips0
Mavenorg.bouncycastle:bcprov-jdk15to180
chainguardkeycloak-fips0
Mavenorg.bouncycastle:bcpkix-jdk18on0
Mavenorg.bouncycastle:bctls-jdk15to180
chainguardsolr-90
chainguardgradle-80
amazon:2023bouncycastle-util0
chainguardsonarqube-100
Mavenorg.bouncycastle:bcprov-jdk15on0
Mavenorg.bouncycastle:bcprov-jdk18on0
chainguardbouncycastle-fips0
chainguardlogstash0
wolfilogstash0
chainguardelasticsearch-80
chainguardhive0
amazon:2023bouncycastle-pg0
chainguardkeycloak-operator0

…and 34 more

Timeline

  • May 5, 2024 CVE Published
  • Oct 4, 2024 Coalition ESS Score (17 in total, the first dated here)
  • Feb 14, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (21 in total, the first dated here)
  • Oct 13, 2026 Distribution Patch (14 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-29857
vulnetix vdb fixes CVE-2024-29857

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-29857/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›