Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-1631

9.1 · CRITICAL
Published Feb 21, 2024 dfinity CWE-321 EPSS 0.88% (57th pctl)

Overview

CVE-2024-1631 is a critical-severity vulnerability affecting dfinity icp-js-core. It was published on February 21, 2024 and has a CVSS 3.1 base score of 9.1 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.1, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from dfinity. Update icp-js-core to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
dfinity icp-js-core >= 0.20.0, < 1.0.1 Affected

Frequently Asked Questions

What is CVE-2024-1631?

CVE-2024-1631 is a critical-severity vulnerability affecting dfinity icp-js-core. It was published on February 21, 2024 and has a CVSS 3.1 base score of 9.1 (CRITICAL).

How severe is CVE-2024-1631?

This vulnerability has a CVSS 3.1 base score of 9.1, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-1631?

Check the references section for vendor advisories and patches from dfinity. Update icp-js-core to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-1631?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-1631 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.