Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcprov-jdk15
  4. ›
  5. CVE-2015-7940

CVE-2015-7940: Exposure of Sensitive Information to an Unauthorized Actor

October 17, 2018 (updated September 1, 2021)

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.”

References

  • github.com/advisories/GHSA-4mv7-cq75-3qjm
  • nvd.nist.gov/vuln/detail/CVE-2015-7940

Code Behaviors & Features

Detect and mitigate CVE-2015-7940 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.51

Fixed versions

  • 1.51

Solution

Upgrade to version 1.51 or above.

Impact 5 MEDIUM

AV:N/AC:L/Au:N/C:P/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-310

Source file

maven/org.bouncycastle/bcprov-jdk15/CVE-2015-7940.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:57 +0000.