CVE-2024-48930cryptocoinjs secp256k1-node
Alta 8.7 Sin autenticación
Seguir: esta CVE · cryptocoinjs · cryptocoinjs secp256k1-node Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 67
- CVSS 4.0
- 8.7
- EPSS
- 0.5% probabilidad de explotación en 30 días · percentil 39
- Requiere autenticación
- No
- Publicada
- 21 oct 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-354
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/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
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para secp256k1-node.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | secp256k1 |
≥ 5.0.0 < 5.0.1 |
5.0.1 |
npm install secp256k1@5.0.1 |
| npm | secp256k1 |
≥ 4.0.0 < 4.0.4 |
4.0.4 |
npm install secp256k1@4.0.4 |
| npm | secp256k1 |
< 3.8.1 |
3.8.1 |
npm install secp256k1@3.8.1 |
Según OSV / GitHub Advisories (GHSA-584q-6j8j-r5pm). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- cryptocoinjs · secp256k1-node
- secp256k1-node_project · secp256k1-node
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.