MODERATE

CVE-2015-7940

Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15

Description

The Bouncy Castle Java library before 1.51 does not validate a point is withing the elliptic curve, which makes it easier for remote attackers to obtain private keys via a series of crafted elliptic curve Diffie Hellman (ECDH) key exchanges, aka an "invalid curve attack."

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.bouncycastle » bcprov-jdk14
< 1.51
1.51
org.bouncycastle » bcprov-jdk15
< 1.51
1.51
org.bouncycastle » bcprov-jdk15on
< 1.51
1.51

Blast radius

3affected artifacts
37affected versions
12,254dependent artifacts (est.)
1,053,535dependent versions

46% of the dependent artifacts (5,735) still pull an affected version in their latest release.

DepthDependent versions
Direct
13,879
2 hops
133,834
3 hops
419,010
4 hops
280,880
5 hops
167,037
6 hops
38,895

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.