GHSA-fc9h-whq2-v747

Suggest an improvement
Source
https://github.com/advisories/GHSA-fc9h-whq2-v747
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-fc9h-whq2-v747/GHSA-fc9h-whq2-v747.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fc9h-whq2-v747
Aliases
Published
2024-10-15T15:30:56Z
Modified
2024-12-20T15:30:47Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
  • 2.3 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
Valid ECDSA signatures erroneously rejected in Elliptic
Details

The Elliptic prior to 6.6.0 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.

Database specific
{
    "nvd_published_at": "2024-10-15T14:15:05Z",
    "cwe_ids": [
        "CWE-347"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2024-10-17T22:05:18Z"
}
References

Affected packages

npm / elliptic

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.0