MODERATE 5.3

CVE-2024-30172

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

Description

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 Maven artifacts (6)

ArtifactAffected versionsFixed in
org.bouncycastle » bcprov-jdk14
>= 1.73, < 1.78
1.78
org.bouncycastle » bcprov-jdk15to18
>= 1.73, < 1.78
1.78
org.bouncycastle » bcprov-jdk18on
>= 1.73, < 1.78
1.78
org.bouncycastle » bctls-jdk14
>= 1.73, < 1.78
1.78
org.bouncycastle » bctls-jdk15to18
>= 1.73, < 1.78
1.78
org.bouncycastle » bctls-jdk18on
>= 1.73, < 1.78
1.78

Blast radius

6affected artifacts
34affected versions
10,679dependent artifacts (est.)
304,925dependent versions

29% of the dependent artifacts (3,175) still pull an affected version in their latest release.

DepthDependent versions
Direct
12,308
2 hops
61,531
3 hops
67,273
4 hops
89,305
5 hops
52,277
6 hops
22,231

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