ADVISORIES

GitHub Advisory Database

GHSA-6xx3-rg99-gc3p

Timing based private key exposure in Bouncy Castle

Moderate CVE-2020-15522

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.bouncycastle:bc-fips
All versions before 1.0.2.1 (fixed in 1.0.2.1)
Mavenorg.bouncycastle:bcprov-ext-jdk15on
All versions before 1.66 (fixed in 1.66)
Mavenorg.bouncycastle:bcprov-ext-jdk16
All versions before 1.66 (fixed in 1.66)
Mavenorg.bouncycastle:bcprov-jdk14
All versions before 1.66 (fixed in 1.66)
Mavenorg.bouncycastle:bcprov-jdk15
All versions before 1.66 (fixed in 1.66)
Mavenorg.bouncycastle:bcprov-jdk15on
All versions before 1.66 (fixed in 1.66)
Mavenorg.bouncycastle:bcprov-jdk15to18
All versions before 1.66 (fixed in 1.66)
Mavenorg.bouncycastle:bcprov-jdk16
All versions before 1.66 (fixed in 1.66)
NuGetBouncyCastle
All versions before 1.8.7 (fixed in 1.8.7)

References