CVE-2024-48948

NameCVE-2024-48948
DescriptionThe Elliptic package 6.5.7 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1085298

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-elliptic (PTS)bullseye6.5.4~dfsg-1vulnerable
bookworm6.5.4~dfsg-2vulnerable
sid, trixie6.5.7+dfsg-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-ellipticsource(unstable)(unfixed)1085298

Notes

[bookworm] - node-elliptic <no-dsa> (Minor issue)
[bullseye] - node-elliptic <postponed> (Minor issue; can be fixed in next update)
https://github.com/indutny/elliptic/issues/321
https://github.com/indutny/elliptic/pull/322

Search for package or bug name: Reporting problems