VDB

CVE-2024-30172

CVE-2024-30172 PUBLISHED CVSS 7.5 HIGH

Bouncy Castle crafted signature and public key can be used to trigger an infinite loop

Reported by mitre · Published May 9, 2024

bctls-jdk14 is fixed in 1.78 (Maven Central)

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.

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:bcprov-jdk18onMaven Central1.78
org.bouncycastle:bcprov-jdk14Maven Central1.78
org.bouncycastle:bcprov-jdk15to18Maven Central1.78
org.bouncycastle:bctls-jdk18onMaven Central1.78
BouncyCastle.CryptographyNuGet2.3.1
org.bouncycastle:bctls-jdk15to18Maven Central1.78
gradle-stage0Wolfi8.0.1-r0
ruby3.2-bouncy-castle-javaWolfi1.5.0146.1-r4
opensearch-2Chainguard2.16.0-r0
ruby3.2-bouncy-castle-javaChainguard1.5.0146.1-r4
opensearch-2Wolfi2.16.0-r0

17 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
Mavenorg.bouncycastle:bcprov-jdk15on0
wolfigradle-stage00
NuGetBouncyCastle
wolfiruby3.2-bouncy-castle-java0
chainguardopensearch-20
chainguardruby3.2-bouncy-castle-java0
wolfiopensearch-20
wolfikeycloak-operator0
chainguardgradle-80
wolfilogstash0
Mavenorg.bouncycastle:bcprov-jdk141.73
chainguardelasticsearch-70
wolfijruby-9.40
Mavenorg.bouncycastle:bcprov-jdk18on1.73
chainguardgradle-stage00
chainguardopensearch-2-jre-bcfips0
Mavenorg.bouncycastle:bcpkix-jdk18on0
chainguardsonarqube-100
NuGetBouncyCastle.Cryptography0

…and 21 more

Timeline

  • May 5, 2024 CVE Published
  • Jun 15, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (20 in total, the first dated here)
  • Nov 22, 2026 Distribution Patch (13 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-30172
vulnetix vdb fixes CVE-2024-30172

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-30172/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 ›