Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-1631

published critical CVSS 3.1 · 9.1

agent-js: Insecure Key Generation in `Ed25519KeyIdentity.generate`

Published
21 Feb 2024, 02:12:38 UTC
Updated
16 Aug 2024, 14:55:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Internet Computer — agent-jsv0.20.0-beta.0 to < v1.0.1 · Other versions: unaffected Affected Not stated Dfinity
dfinity — agent-jsv0.20.0-beta.0 to < v1.0.1 · Other versions: unaffected Affected Not stated CISA-ADP

Description

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.

en · Dfinity · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.1 / 10
Severity
critical
Provider
Dfinity · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Internet Computer agent-js v0.20.0-beta.0 to < v1.0.1 (affected · 1.0.1)Default: unaffected Dfinity · cna
dfinity agent-js v0.20.0-beta.0 to < v1.0.1 (affected · custom)Default: unaffected CISA-ADP · adp

Weaknesses

2
  • CWE-321 CWE-321: Use of Hard-coded Cryptographic Key (Dfinity · cna)
  • CWE-330 CWE-330: Use of Insufficiently Random Values (Dfinity · cna)

References

5

Provider assertions

3

Dfinity · cna

agent-js: Insecure Key Generation in `Ed25519KeyIdentity.generate`

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
e1f69ad5134b844711cb4f0da3a2fed8f459f0457f7e1b67423760140c2414dc
Ingested
23 Sep 2026, 08:18:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected