MODERATE 5.3

CVE-2024-29857

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

Description

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.

Blast radius

8affected artifacts
165affected versions
52,705dependent artifacts (est.)
4,573,940dependent versions

69% of the dependent artifacts (36,529) still pull an affected version in their latest release.

DepthDependent versions
Direct
154,523
2 hops
906,009
3 hops
1,273,235
4 hops
1,176,314
5 hops
716,370
6 hops
347,489

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects NuGet (2 packages) . See all on OSV