Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-15522

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-15522
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:20 UTC · Revision 1

Source evidence

CVE-2020-15522

core-osv · Original source

Published 20 May 2021, 12:15 UTC

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.

osv:CVE-2020-15522
Complete source record
{
  "id": "663cb3b19da7566452d53568060cbe1c621ad257bcccfcd26f9e043bc733f64a",
  "url": "https://osv.dev/vulnerability/CVE-2020-15522",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-15522",
    "summary": "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.",
    "evidence": "osv:CVE-2020-15522",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-15522",
      "aliases": [
        "CVE-2020-15522",
        "GHSA-6xx3-rg99-gc3p"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/bcgit/bc-csharp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1cbd476c1eaf32a928a926ebb0ec346821753661"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.8.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "release-1.8.6",
            "release-1.8.5",
            "release-1.8.4",
            "release-1.8.3",
            "release-1.8.2",
            "release-1.8.1",
            "release-1.8.0",
            "release-1.8.0-RC.3",
            "release-1.8.0-RC.2",
            "release-1.8.0-RC.1",
            "release-1.8.0-beta.4",
            "release-1.8.0-beta.3",
            "release-1.8.0-beta.2",
            "release-1.8.0-beta.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15522.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:17.456538271Z",
      "provider": "osv",
      "references": [
        "https://github.com/bcgit/bc-csharp/wiki/CVE-2020-15522",
        "https://github.com/bcgit/bc-java/wiki/CVE-2020-15522",
        "https://security.netapp.com/advisory/ntap-20210622-0007/",
        "https://www.bouncycastle.org/releasenotes.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:bouncycastle:bouncy_castle_fips_.net_api:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "bouncycastle:bouncy_castle_fips_.net_api",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.0.1.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "bouncycastle:fips_java_api",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.0.1.2"
                  },
                  {
                    "introduced": "1.0.2"
                  },
                  {
                    "fixed": "1.0.2.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:bouncycastle:the_bouncy_castle_crypto_package_for_java:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "bouncycastle:the_bouncy_castle_crypto_package_for_java",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.66"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-15522",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429568,
  "published_at": "2021-05-20T12:15:08.003+00:00"
}