Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. elliptic
  4. ›
  5. CVE-2020-13822

CVE-2020-13822: Signature Malleabillity in elliptic

July 29, 2020 (updated October 16, 2024)

The Elliptic package before version 6.5.3 for Node.js allows ECDSA signature malleability via variations in encoding, leading ‘\0’ bytes, or integer overflows. This could conceivably have a security-relevant impact if an application relied on a single canonical signature.

References

  • github.com/advisories/GHSA-vh7m-p724-62c2
  • github.com/indutny/elliptic
  • github.com/indutny/elliptic/commit/856fe4d99fe7b6200556e6400b3bf585b1721bec
  • github.com/indutny/elliptic/issues/226
  • medium.com/%40herman_10687/malleability-attack-why-it-matters-7b5f59fb99a4
  • medium.com/@herman_10687/malleability-attack-why-it-matters-7b5f59fb99a4
  • nvd.nist.gov/vuln/detail/CVE-2020-13822
  • www.npmjs.com/package/elliptic
  • yondon.blog/2019/01/01/how-not-to-use-ecdsa

Code Behaviors & Features

Detect and mitigate CVE-2020-13822 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 6.5.3

Fixed versions

  • 6.5.3

Solution

Upgrade to version 6.5.3 or above.

Impact 7.7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound

Source file

npm/elliptic/CVE-2020-13822.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:36 +0000.