CVE-2024-49364: tiny-secp256k1 - Authentication Bypass
- Cve: CVE-2024-49364
- Name: tiny-secp256k1 - Authentication Bypass
- Description: tiny-secp256k1 is a tiny secp256k1 native/JS wrapper. Prior to version 1.1.7, a private key can be extracted on signing a malicious JSON-stringifiable object, when global Buffer is the buffer package. This affects only environments where require('buffer') is the NPM buffer package. The Buffer.isBuffer check can be bypassed, resulting in k reuse for different messages, leading to private key extraction over a single invalid message (and a second one for which any message/signature could be taken, e.g. previously known valid one). This issue has been patched in version 1.1.7.
- Impact: Attackers can extract private keys, compromising cryptographic security and allowing signature forgery.
- Remediation: Update to version 1.1.7 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: information_disclosure
- Requirements: Requires global Buffer to be the NPM buffer package
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00365
- Epss percentile: 0.30702
- Assignee: [email protected]
- Published at: 2025-07-01T03:15:21Z
- Age in days: 511
- Modified at: 2026-06-17T07:59:46Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-49364
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-522 | Insufficiently Protected Credentials |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/bitcoinjs/tiny-secp256k1/pull/140 | nvd | |
| https://github.com/bitcoinjs/tiny-secp256k1/security/advisories/GHSA-7mc2-6phr-23xc | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| bitcoinjs/tiny-secp256k1 | package, pull, security_advisory | yes | /v1/repositories/bitcoinjs/tiny-secp256k1 |
Index
- Repositories: 39
- Repositories high signal: 16
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts