Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. nettle
  4. ›
  5. CVE-2021-20305

CVE-2021-20305: Use of a Broken or Risky Cryptographic Algorithm

April 5, 2021 (updated November 9, 2023)

A flaw was found in Nettle, where several Nettle signature verification functions (GOST DSA, EDDSA & ECDSA) result in the Elliptic Curve Cryptography point (ECC) multiply function being called with out-of-range scalers, possibly resulting in incorrect results. This flaw allows an attacker to force an invalid signature, causing an assertion failure or possible validation. The highest threat to this vulnerability is to confidentiality, integrity, as well as system availability.

References

  • bugzilla.redhat.com/show_bug.cgi?id=1942533
  • nvd.nist.gov/vuln/detail/CVE-2021-20305

Code Behaviors & Features

Detect and mitigate CVE-2021-20305 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.7.2

Solution

Unfortunately, there is no solution available yet.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

conan/nettle/CVE-2021-20305.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.