CVE-2024-48930

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-48930
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-48930.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-48930
Aliases
Published
2024-10-21T16:15:03Z
Modified
2024-10-22T00:00:13.738589Z
Summary
[none]
Details

secp256k1-node is a Node.js binding for an Optimized C library for EC operations on curve secp256k1. In elliptic-based version, loadUncompressedPublicKey has a check that the public key is on the curve. Prior to versions 5.0.1, 4.0.4, and 3.8.1, however, loadCompressedPublicKey is missing that check. That allows the attacker to use public keys on low-cardinality curves to extract enough information to fully restore the private key from as little as 11 ECDH sessions, and very cheaply on compute power. Other operations on public keys are also affected, including e.g. publicKeyVerify() incorrectly returning true on those invalid keys, and e.g. publicKeyTweakMul() also returning predictable outcomes allowing to restore the tweak. Versions 5.0.1, 4.0.4, and 3.8.1 contain a fix for the issue.

References

Affected packages

Git / github.com/cryptocoinjs/secp256k1-node

Affected ranges

Type
GIT
Repo
https://github.com/cryptocoinjs/secp256k1-node
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed

Affected versions

1.*

1.1.5

v2.*

v2.0.10
v2.0.4
v2.0.5
v2.0.7
v2.0.9

v3.*

v3.0.0
v3.0.1
v3.1.0
v3.2.0
v3.2.2
v3.2.5
v3.3.0
v3.3.1
v3.4.0
v3.5.0
v3.5.1
v3.5.2
v3.6.0
v3.6.1
v3.6.2
v3.7.0
v3.7.1
v3.8.0

v4.*

v4.0.0
v4.0.1
v4.0.2
v4.0.3

v5.*

v5.0.0