Advisory

GHSA-6xx3-rg99-gc3p

Also known as: CVE-2020-15522

Summary

Timing based private key exposure in Bouncy Castle

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-13 15:22 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

BouncyCastle

NuGet · All systems

Affected

  • introduced 0, fixed 1.8.7 (ecosystem)

Fixed versions

1.8.7

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences