CVE-2020-15522
Timing based private key exposure in Bouncy Castle
Reported by mitre · Published May 20, 2021
BouncyCastle is fixed in 1.8.7 (NuGet)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| BouncyCastle | NuGet | 1.8.7 |
| org.bouncycastle:bc-fips | Maven Central | 1.0.2.1 |
| org.bouncycastle:bcprov-jdk14 | Maven Central | 1.66 |
| org.bouncycastle:bcprov-ext-jdk16 | Maven Central | 1.66 |
| org.bouncycastle:bcprov-ext-jdk15on | Maven Central | 1.66 |
| org.bouncycastle:bcprov-jdk15 | Maven Central | 1.66 |
| org.bouncycastle:bcprov-jdk16 | Maven Central | 1.66 |
| elasticsearch-8 | Chainguard | 8.12.1-r0 |
| hadoop-fips-3.3.6 | Chainguard | 3.3.6-r22 |
| the_bouncy_castle_crypto_package_for_java | bouncycastle | 1.66 |
| bouncy_castle_fips_.net_api | bouncycastle | 1.0.1.1 |
| fips_java_api | bouncycastle | 1.0.2.1, 1.0.1.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Maven | org.bouncycastle:bcprov-jdk14 | 0 |
| chainguard | elasticsearch-8 | 0 |
| Maven | org.bouncycastle:bc-fips | 0 |
| Maven | org.bouncycastle:bcprov-jdk16 | 0 |
| chainguard | hadoop-fips-3.3.6 | 0 |
| Maven | org.bouncycastle:bcprov-ext-jdk15on | 0 |
| Maven | org.bouncycastle:bcprov-jdk15 | 0 |
| NuGet | BouncyCastle | 0 |
| n/a | n/a | * |
| Maven | org.bouncycastle:bcprov-jdk15on | 0 |
| chainguard | elasticsearch-7 | 0 |
| Maven | org.bouncycastle:bcprov-ext-jdk16 | 0 |
| Maven | org.bouncycastle:bcprov-jdk15to18 | 0 |
Timeline
- May 20, 2021 CVE Published
- May 21, 2021 EPSS Score (30 in total, the first dated here)
- Aug 4, 2024 CVE Updated
- Apr 3, 2025 PoC Published
- Mar 17, 2026 Security Advisory (12 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (8 in total, the first dated here)
- Sep 4, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-15522
vulnetix vdb fixes CVE-2020-15522
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-15522/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2020-15522 advisory
- https://github.com/advisories/GHSA-6xx3-rg99-gc3p advisory
- https://security.netapp.com/advisory/ntap-20210622-0007 advisory