tiny-secp256k1: Stale buffer after ignored wasm failure accepts invalid infinity tweak
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| bitcoinjs | tiny-secp256k1 | affected |
|
||||||
| @bitcoin-js | iny-secp256k1-asmjs | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Bitcoinjs | Iny-secp256k1-asmjs |
|
||||||||
| Bitcoinjs | Tiny-secp256k1 |
|
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.507% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Bitcoinjs
Bitcoinjs iny-secp256k1-asmjs Bitcoinjs tiny-secp256k1 |
|
| Vendors & Products |
Bitcoinjs
Bitcoinjs iny-secp256k1-asmjs Bitcoinjs tiny-secp256k1 |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | tiny-secp256k1 is a tiny secp256k1 native/JS wrapper. From 2.1.0 until 2.2.5 for tiny-secp256k1 and from 2.2.2 until 2.2.5 for @bitcoin-js/tiny-secp256k1-asmjs, the three-argument xOnlyPointAddTweakCheck path ignores the backend failure return from xOnlyPointAddTweak when a tweak produces the point at infinity. The shared X_ONLY_PUBLIC_KEY_INPUT buffer then still contains the original point, so a caller-controlled resultToCheck equal to that point can make the stale-buffer comparison return true even though no tweaked key exists. Protocols that rely on this helper to validate caller-controlled internal keys, tweaks, and comparison values can accept an invalid derived key. This issue is fixed in version 2.2.5. | |
| Title | tiny-secp256k1: Stale buffer after ignored wasm failure accepts invalid infinity tweak | |
| Weaknesses | CWE-252 | |
| References |
| |
| Metrics |
cvssV4_0
|