Information disclosure in Bouncy Castle for Java - CVE-2015-7940
Published: November 30, -0001 / Updated: June 1, 2020
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due 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 software
Debian Linux
Ubuntu
Fedora
Opensuse
Oracle Business Intelligence Enterprise Edition
bouncycastle (Debian package)
libbcpg-java (Ubuntu package)
libbcpkix-java (Ubuntu package)
libbcprov-java (Ubuntu package)
libbcmail-java (Ubuntu package)
bouncycastle
How to mitigate CVE-2015-7940
bouncycastle (Debian package) - addressed in versions 1.44+dfsg-3.1+deb7u1, 1.49+dfsg-3+deb8u1
libbcpg-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
libbcpkix-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
libbcprov-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
libbcmail-java (Ubuntu package) - update to 1.49+dfsg-2ubuntu0.1
bouncycastle - update to 1.50-8.fc22
External References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/174915.html
- http://web-in-security.blogspot.ca/2015/09/practical-invalid-curve-attacks.html
- http://www.debian.org/security/2015/dsa-3417
- http://www.openwall.com/lists/oss-security/2015/10/22/7
- http://www.openwall.com/lists/oss-security/2015/10/22/9