01 Record
CVE-2024-1631
agent-js: Insecure Key Generation in `Ed25519KeyIdentity.generate`
CriticalPUBLISHEDCNA: Dfinity
CNA base score9.1 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
02 Description
agent-js: Insecure Key Generation in `Ed25519KeyIdentity.generate`
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.88% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 58.7% of scored records. A rank, not a probability.
- NVD base score
- 9.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-02-21 02:12Z2 YR AGO
- Last updated
- 2024-08-16 14:55Z2 YR AGO
- Reserved
- 2024-02-19
- Assigning CNA
- Dfinity
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.1)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- Data version
- 5.1
- Document digest
- 137052710ed07384e9f451a7d2de4082b6f24e7d620dac7b079efbee024cbc7e
05 Affected products
06 References
- github.comhttps://github.com/dfinity/agent-js/pull/851
- www.npmjs.comhttps://www.npmjs.com/package/@dfinity/identity/v/1.0.1
- github.comhttps://github.com/dfinity/agent-js
- agent-js.icp.xyzhttps://agent-js.icp.xyz/identity/index.html
- github.comhttps://github.com/dfinity/agent-js/security/advisories/GHSA-c9vv-fhgv-cjc3