{"id":"UBUNTU-CVE-2024-48948","details":"The 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.","modified":"2026-01-20T17:57:09.971209Z","published":"2024-10-15T14:15:00Z","upstream":["CVE-2024-48948"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-48948"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-48948"},{"type":"REPORT","url":"https://github.com/indutny/elliptic/issues/321"},{"type":"REPORT","url":"https://github.com/indutny/elliptic/pull/322"}],"affected":[{"package":{"name":"node-elliptic","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-elliptic@6.4.0+dfsg-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.4.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-elliptic","binary_version":"6.4.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-48948.json"}},{"package":{"name":"node-elliptic","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-elliptic@6.5.1~dfsg-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.5.1~dfsg-1","6.5.1~dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-elliptic","binary_version":"6.5.1~dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-48948.json"}},{"package":{"name":"node-elliptic","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-elliptic@6.5.4~dfsg-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.5.4~dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-elliptic","binary_version":"6.5.4~dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-48948.json"}},{"package":{"name":"node-elliptic","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-elliptic@6.5.4~dfsg-2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.5.4~dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-elliptic","binary_version":"6.5.4~dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-48948.json"}},{"package":{"name":"node-elliptic","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-elliptic@6.6.1+dfsg-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.6.1+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-elliptic","binary_version":"6.6.1+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-48948.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}