VDB

CVE-2020-15522

CVE-2020-15522 PUBLISHED CVSS 5.900000095367432 MEDIUM

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.

PackageEcosystemFixed in
BouncyCastleNuGet1.8.7
org.bouncycastle:bc-fipsMaven Central1.0.2.1
org.bouncycastle:bcprov-jdk14Maven Central1.66
org.bouncycastle:bcprov-ext-jdk16Maven Central1.66
org.bouncycastle:bcprov-ext-jdk15onMaven Central1.66
org.bouncycastle:bcprov-jdk15Maven Central1.66
org.bouncycastle:bcprov-jdk16Maven Central1.66
elasticsearch-8Chainguard8.12.1-r0
hadoop-fips-3.3.6Chainguard3.3.6-r22
the_bouncy_castle_crypto_package_for_javabouncycastle1.66
bouncy_castle_fips_.net_apibouncycastle1.0.1.1
fips_java_apibouncycastle1.0.2.1, 1.0.1.2

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
Mavenorg.bouncycastle:bcprov-jdk140
chainguardelasticsearch-80
Mavenorg.bouncycastle:bc-fips0
Mavenorg.bouncycastle:bcprov-jdk160
chainguardhadoop-fips-3.3.60
Mavenorg.bouncycastle:bcprov-ext-jdk15on0
Mavenorg.bouncycastle:bcprov-jdk150
NuGetBouncyCastle0
n/an/a*
Mavenorg.bouncycastle:bcprov-jdk15on0
chainguardelasticsearch-70
Mavenorg.bouncycastle:bcprov-ext-jdk160
Mavenorg.bouncycastle:bcprov-jdk15to180

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›