ADVISORIES

GitHub Advisory Database

GHSA-4mv7-cq75-3qjm

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

Moderate CVE-2015-7940

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.bouncycastle:bcprov-jdk15
All versions before 1.51 (fixed in 1.51)
Mavenorg.bouncycastle:bcprov-jdk14
All versions before 1.51 (fixed in 1.51)
Mavenorg.bouncycastle:bcprov-jdk15on
All versions before 1.51 (fixed in 1.51)

References