CVE-2024-1631Dfinity Icp-js-core
Crítica 9.1 Sin autenticación
Seguir: esta CVE · Dfinity · Dfinity Icp-js-core Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.1% probabilidad de explotación en 30 días · percentil 66
- Requiere autenticación
- No
- Publicada
- 21 feb 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Qué pasa
Impact: The library offers a function to generate an ed25519 key pair via Ed25519KeyIdentity.generate with an optional param to provide a 32 byte seed value, which will then be used as the secret key. When no seed value is provided, it is expected that the library generates the secret key using secure randomness. However, a recent change broke this guarantee and uses an insecure seed for key pair generation. Since the private key of this identity (535yc-uxytb-gfk7h-tny7p-vjkoe-i4krp-3qmcl-uqfgr-cpgej-yqtjq-rqe) is compromised, one could lose funds associated with the principal on ledgers or lose access to a canister where this principal is the controller.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Icp-js-core.
- 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 | @dfinity/auth-client |
≥ 0.20.0-beta.0 < 1.0.1 |
1.0.1 |
npm install @dfinity/auth-client@1.0.1 |
| npm | @dfinity/identity |
≥ 0.20.0-beta.0 < 1.0.1 |
1.0.1 |
npm install @dfinity/identity@1.0.1 |
Según OSV / GitHub Advisories (GHSA-c9vv-fhgv-cjc3). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| dfinity | icp-js-core | ≥ 0.20.0 < 1.0.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- agent-js.icp.xyz Broken Link
- github.com Product
- github.com Issue Tracking Patch
- github.com Exploit Vendor Advisory
- www.npmjs.com Product