Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bc-fips
  4. ›
  5. CVE-2020-15522

CVE-2020-15522: Timing based private key exposure in Bouncy Castle

August 13, 2021 (updated July 17, 2025)

Bouncy Castle BC Java before 1.66, BC C# .NET before 1.8.7, BC-FJA before 1.0.2.1, BC before 1.66, BC-FNA before 1.0.1.1 have a timing issue within the EC math library that can expose information about the private key when an attacker is able to observe timing information for the generation of multiple deterministic ECDSA signatures.

References

  • github.com/advisories/GHSA-6xx3-rg99-gc3p
  • github.com/bcgit/bc-csharp/wiki/CVE-2020-15522
  • github.com/bcgit/bc-java/wiki/CVE-2020-15522
  • nvd.nist.gov/vuln/detail/CVE-2020-15522
  • security.netapp.com/advisory/ntap-20210622-0007
  • www.bouncycastle.org/releasenotes.html

Code Behaviors & Features

Detect and mitigate CVE-2020-15522 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.0.2.1

Fixed versions

  • 1.0.2.1

Solution

Upgrade to version 1.0.2.1 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy
  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

maven/org.bouncycastle/bc-fips/CVE-2020-15522.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 23 Aug 2025 00:19:22 +0000.