CVE-2024-1631
Publiée le 2024-02-21 · Dernière modification le 2026-06-17
Les systèmes utilisant la bibliothèque affectée pour générer des paires de clés ed25519 sans graine (seed) personnalisée sont à risque, car la bibliothèque utilise une valeur prévisible et non sécurisée au lieu d'un hasard réel. Un attaquant peut utiliser cette graine connue pour recréer votre clé privée, lui permettant ainsi de voler des fonds ou de prendre le contrôle des canisters associés à cette identité. Cette opération peut être effectuée à distance, sans aucune authentification ni interaction de l'utilisateur.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
- 6b35d637-e00f-4228-858c-b20ad6e1d07b
- 6b35d637-e00f-4228-858c-b20ad6e1d07b
- 6b35d637-e00f-4228-858c-b20ad6e1d07b
- 6b35d637-e00f-4228-858c-b20ad6e1d07b
- 6b35d637-e00f-4228-858c-b20ad6e1d07b
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Description officielle du NVD (en anglais)
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.