NetSight
high7.5

CVE-2024-29857

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

Impact

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

EcosystemPackageAffectedFixed in
mavenorg.bouncycastle:bcprov-jdk18on< 1.781.78
mavenorg.bouncycastle:bcprov-jdk15on< 1.781.78
mavenorg.bouncycastle:bcprov-jdk15to18< 1.781.78
mavenorg.bouncycastle:bcprov-jdk14< 1.781.78
mavenorg.bouncycastle:bctls-jdk18on< 1.781.78
mavenorg.bouncycastle:bctls-jdk14< 1.781.78
mavenorg.bouncycastle:bctls-jdk15to18< 1.781.78
mavenorg.bouncycastle:bc-fips< 1.0.2.51.0.2.5
nugetBouncyCastle< 2.3.1none recorded
nugetBouncyCastle.Cryptography< 2.3.12.3.1

Affected products

VendorProductAffected versions
Bouncy CastleBouncy 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.

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

Weakness classification

References