CVE-2020-15522

bouncycastle: Timing issue within the EC math library

Published May 20, 2021 CVSS 3.1 · 5.9 Medium EPSS 1.5% KEV · Not listed
Description
Bouncy Castle BC Java before 1.66, BC C# .NET before 1.8.7, BC-FJA before 1.0.1.2, 1.0.2.1, and 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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1608 Bouncy Castle BC Java before 1.66, BC C# .NET before 1.8.7, BC-FJA before 1.0.1.2, 1.0.2.1, and 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.
Github GHSA Github GHSA GHSA-6xx3-rg99-gc3p Timing based private key exposure in Bouncy Castle
History
Type Values Removed Values Added
First Time appeared Bouncycastle fips Java Api
CPEs cpe:2.3:a:bouncycastle:legion-of-the-bouncy-castle-fips-java-api:*:*:*:*:*:*:*:* cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:*
Vendors & Products Bouncycastle legion-of-the-bouncy-castle-fips-java-api
Bouncycastle fips Java Api
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 1:15 PM
Reserved
Jul 4, 2020, 12:00 AM
Status
Modified
Published
May 20, 2021, 12:15 PM
Modified
Jun 17, 2026, 2:56 AM
Severity
Moderate
Public date
May 20, 2021, 12:00 AM