NetSight
high7.5

CVE-2024-30172

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

Impact

An issue was discovered in Bouncy Castle Java Cryptography APIs starting in 1.73 and before 1.78. An Ed25519 verification code infinite loop can occur via a crafted signature and public key.

Affected packages

EcosystemPackageAffectedFixed in
nugetBouncyCastle< 2.3.1none recorded
nugetBouncyCastle.Cryptography< 2.3.12.3.1
mavenorg.bouncycastle:bcprov-jdk18on>= 1.73, < 1.781.78
mavenorg.bouncycastle:bcprov-jdk15to18>= 1.73, < 1.781.78
mavenorg.bouncycastle:bcprov-jdk14>= 1.73, < 1.781.78
mavenorg.bouncycastle:bctls-jdk18on>= 1.73, < 1.781.78
mavenorg.bouncycastle:bctls-jdk14>= 1.73, < 1.781.78
mavenorg.bouncycastle:bctls-jdk15to18>= 1.73, < 1.781.78

Affected products

VendorProductAffected versions
Bouncy CastleBouncy Castle Java Cryptography APIs
before 1.78.

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References