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-21891

8.8 · HIGH
Published Feb 20, 2024 nodejs CWE-22 EPSS 1.24% (67th pctl)

Overview

CVE-2024-21891 is a high-severity vulnerability affecting nodejs node.js. It was published on February 20, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

Node.js depends on multiple built-in utility functions to normalize paths provided to node:fs functions, which can be overwitten with user-defined implementations leading to filesystem permission model bypass through path traversal attack.

This vulnerability affects all users using the experimental permission model in Node.js 20 and Node.js 21.

Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

Remediation

Check the references section for vendor advisories and patches from nodejs. Update node.js 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
nodejs node.js >= 20.0.0, < 20.11.1 Affected

Frequently Asked Questions

What is CVE-2024-21891?

CVE-2024-21891 is a high-severity vulnerability affecting nodejs node.js. It was published on February 20, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2024-21891?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

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

Check the references section for vendor advisories and patches from nodejs. Update node.js 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-21891?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-21891 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.