Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS00MzRnLTI2MzctcW1xcs4ABAJS
Elliptic's verify function omits uniqueness validation
The Elliptic package 6.5.5 for Node.js for EDDSA implementation does not perform the required check if the signature proof(s) is within the bounds of the order n of the base point of the elliptic curve, leading to signature malleability. Namely, the verify
function in lib/elliptic/eddsa/index.js
omits sig.S().gte(sig.eddsa.curve.n) || sig.S().isNeg()
validation.
This vulnerability could have a security-relevant impact if an application relies on the uniqueness of a signature.
Permalink: https://github.com/advisories/GHSA-434g-2637-qmqrJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00MzRnLTI2MzctcW1xcs4ABAJS
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: 6 days ago
Updated: about 7 hours ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Identifiers: GHSA-434g-2637-qmqr, CVE-2024-48949
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-48949
- https://github.com/indutny/elliptic/commit/7ac5360118f74eb02da73bdf9f24fd0c72ff5281
- https://github.com/indutny/elliptic/compare/v6.5.5...v6.5.6
- https://github.com/advisories/GHSA-434g-2637-qmqr
Blast Radius: 30.9
Affected Packages
npm:elliptic
Dependent packages: 2,976Dependent repositories: 667,005
Downloads: 42,258,551 last month
Affected Version Ranges: < 6.5.6
Fixed in: 6.5.6
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.11.1, 0.12.0, 0.13.1, 0.13.2, 0.14.0, 0.14.1, 0.14.2, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.15.4, 0.15.5, 0.15.6, 0.15.7, 0.15.8, 0.15.9, 0.15.10, 0.15.11, 0.15.12, 0.15.13, 0.15.14, 0.15.15, 0.15.17, 0.16.0, 1.0.0, 1.0.1, 2.0.0, 2.0.1, 2.0.2, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 4.0.0, 4.1.0, 5.0.0, 5.1.0, 5.2.0, 5.2.1, 6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.2.7, 6.2.8, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5
All unaffected versions: 6.5.6, 6.5.7