CVE-2024-1631

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-1631
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-1631.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-1631
Aliases
Related
Published
2024-02-21T03:15:08.747Z
Modified
2025-12-12T21:50:49.645403Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/dfinity/agent-js

Affected ranges

Type
GIT
Repo
https://github.com/dfinity/agent-js
Events

Affected versions

v0.*

v0.20.0
v0.20.1
v0.20.2
v0.21.0
v0.21.1
v0.21.2
v0.21.3
v0.21.4

v1.*

v1.0.0

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-1631.json"