Nodejs Node vulnerabilities
97 known vulnerabilities affecting nodejs/node.
Total CVEs
97
CISA KEV
0
Public exploits
1
Exploited in wild
0
Severity breakdown
CRITICAL9HIGH50MEDIUM32LOW6
Vulnerabilities
Page 2 of 5
CVE-2025-23165LOWCVSS 3.7≥ 4.0, < 4.*≥ 5.0, < 5.*+17 more2025-05-19
CVE-2025-23165 [LOW] CWE-401 CVE-2025-23165: In Node.js, the `ReadFileUtf8` internal binding leaks memory due to a corrupted pointer in `uv_fs_s.
In Node.js, the `ReadFileUtf8` internal binding leaks memory due to a corrupted pointer in `uv_fs_s.file`: a UTF-16 path buffer is allocated but subsequently overwritten when the file descriptor is set. This results in an unrecoverable memory leak on every call. Repeated use can cause unbounded memory growth, leading to a denial of service.
Impact:
*
cvelistv5nvd
CVE-2025-23085MEDIUMCVSS 5.3≥ 4.0, < 4.*≥ 5.0, < 5.*+18 more2025-02-07
CVE-2025-23085 [MEDIUM] CWE-401 CVE-2025-23085: A memory leak could occur when a remote peer abruptly closes the socket without sending a GOAWAY not
A memory leak could occur when a remote peer abruptly closes the socket without sending a GOAWAY notification. Additionally, if an invalid header was detected by nghttp2, causing the connection to be terminated by the peer, the same leak was triggered. This flaw could lead to increased memory consumption and potential denial of service under certain
cvelistv5nvd
CVE-2025-23084MEDIUMCVSS 5.5≥ 20.0.0, < 20.19.4≥ 22.0.0, < 22.17.1+1 more2025-01-28
CVE-2025-23084 [MEDIUM] CWE-22 CVE-2025-23084: A vulnerability has been identified in Node.js, specifically affecting the handling of drive names i
A vulnerability has been identified in Node.js, specifically affecting the handling of drive names in the Windows environment. Certain Node.js functions do not treat drive names as special on Windows. As a result, although Node.js assumes a relative path, it actually refers to the root directory.
On Windows, a path that does not start with the file
cvelistv5nvd
CVE-2025-23083HIGHCVSS 7.7≥ 4.0, < 4.*≥ 5.0, < 5.*+17 more2025-01-22
CVE-2025-23083 [HIGH] CWE-284 CVE-2025-23083: With the aid of the diagnostics_channel utility, an event can be hooked into whenever a worker threa
With the aid of the diagnostics_channel utility, an event can be hooked into whenever a worker thread is created. This is not limited only to workers but also exposes internal workers, where an instance of them can be fetched, and its constructor can be grabbed and reinstated for malicious usage.
This vulnerability affects Permission Model users (--p
cvelistv5nvd
CVE-2024-27980HIGHCVSS 8.1≥ 4.0, < 4.*≥ 5.0, < 5.*+17 more2025-01-09
CVE-2024-27980 [HIGH] CWE-77 CVE-2024-27980: Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a mali
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
cvelistv5nvd
CVE-2024-37372LOWCVSS 3.6≥ 4.0, < 4.*≥ 5.0, < 5.*+16 more2025-01-09
CVE-2024-37372 [LOW] CWE-22 CVE-2024-37372: The Permission Model assumes that any path starting with two backslashes \ has a four-character pref
The Permission Model assumes that any path starting with two backslashes \ has a four-character prefix that can be ignored, which is not always true. This subtle bug leads to vulnerable edge cases.
cvelistv5nvd
CVE-2023-30583HIGHCVSS 7.5≥ 4.0, < 4.*≥ 5.0, < 5.*+13 more2024-09-07
CVE-2023-30583 [HIGH] CWE-284 CVE-2023-30583: fs.openAsBlob() can bypass the experimental permission model when using the file system read restric
fs.openAsBlob() can bypass the experimental permission model when using the file system read restriction with the `--allow-fs-read` flag in Node.js 20. This flaw arises from a missing check in the `fs.openAsBlob()` API.
Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
cvelistv5nvd
CVE-2023-30587HIGHCVSS 7.5≥ 4.0, < 4.*≥ 5.0, < 5.*+13 more2024-09-07
CVE-2023-30587 [HIGH] CWE-284 CVE-2023-30587: A vulnerability in Node.js version 20 allows for bypassing restrictions set by the --experimental-pe
A vulnerability in Node.js version 20 allows for bypassing restrictions set by the --experimental-permission flag using the built-in inspector module (node:inspector).
By exploiting the Worker class's ability to create an "internal worker" with the kIsInternal Symbol, attackers can modify the isInternal value when an inspector is attached within the
cvelistv5nvd
CVE-2023-30584HIGHCVSS 7.7≥ 4.0, < 4.*≥ 5.0, < 5.*+14 more2024-09-07
CVE-2023-30584 [HIGH] CWE-22 CVE-2023-30584: A vulnerability has been discovered in Node.js version 20, specifically within the experimental perm
A vulnerability has been discovered in Node.js version 20, specifically within the experimental permission model. This flaw relates to improper handling of path traversal bypass when verifying file permissions.
Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
cvelistv5nvd
CVE-2024-36138HIGHCVSS 8.1≥ 4.0, < 4.*≥ 5.0, < 5.*+17 more2024-09-07
CVE-2024-36138 [HIGH] CVE-2024-36138: Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via child_process
Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via child_process.spawn / child_process.spawnSync. A malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
cvelistv5
CVE-2023-46809HIGHCVSS 7.4≥ 4.0, < 4.*≥ 5.0, < 5.*+16 more2024-09-07
CVE-2023-46809 [HIGH] CWE-385 CVE-2023-46809: Node.js versions which bundle an unpatched version of OpenSSL or run against a dynamically linked ve
Node.js versions which bundle an unpatched version of OpenSSL or run against a dynamically linked version of OpenSSL which are unpatched are vulnerable to the Marvin Attack - https://people.redhat.com/~hkario/marvin/, if PCKS #1 v1.5 padding is allowed when performing RSA descryption using a private key.
cvelistv5nvd
CVE-2023-39333MEDIUMCVSS 5.3≥ 4.0, < 4.*≥ 5.0, < 5.*+15 more2024-09-07
CVE-2023-39333 [MEDIUM] CWE-94 CVE-2023-39333: Maliciously crafted export names in an imported WebAssembly module can inject JavaScript code. The i
Maliciously crafted export names in an imported WebAssembly module can inject JavaScript code. The injected code may be able to access data and functions that the WebAssembly module itself does not have access to, similar to as if the WebAssembly module was a JavaScript module.
This vulnerability affects users of any active release line of Node.js.
cvelistv5nvd
CVE-2023-30582MEDIUMCVSS 5.3≥ 4.0, < 4.*≥ 5.0, < 5.*+13 more2024-09-07
CVE-2023-30582 [MEDIUM] CWE-284 CVE-2023-30582: A vulnerability has been identified in Node.js version 20, affecting users of the experimental permi
A vulnerability has been identified in Node.js version 20, affecting users of the experimental permission model when the --allow-fs-read flag is used with a non-* argument. This flaw arises from an inadequate permission model that fails to restrict file watching through the fs.watchFile API. As a result, malicious actors can monitor files that they
cvelistv5nvd
CVE-2024-36137LOWCVSS 3.3≥ 20.20.1, ≤ 20.20.1≥ 22.22.1, ≤ 22.22.1+2 more2024-09-07
CVE-2024-36137 [LOW] CVE-2024-36137: A vulnerability has been identified in Node.js, affecting users of the experimental permission model
A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-write flag is used.
Node.js Permission Model do not operate on file descriptors, however, operations such as fs.fchown or fs.fchmod can use a "read-only" file descriptor to change the owner and permissions of a file.
cvelistv5nvd
CVE-2024-22018LOWCVSS 2.9≥ 4.0, < 4.*≥ 5.0, < 5.*+16 more2024-07-10
CVE-2024-22018 [LOW] CVE-2024-22018: A vulnerability has been identified in Node.js, affecting users of the experimental permission model
A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used.
This flaw arises from an inadequate permission model that fails to restrict file stats through the fs.lstat API. As a result, malicious actors can retrieve stats from files that they do not have explicit read access to.
Th
cvelistv5nvd
CVE-2024-22020MEDIUMCVSS 6.5≥ 4.0, < 4.*≥ 5.0, < 5.*+17 more2024-07-09
CVE-2024-22020 [MEDIUM] CWE-94 CVE-2024-22020: A security flaw in Node.js allows a bypass of network import restrictions.
By embedding non-network
A security flaw in Node.js allows a bypass of network import restrictions.
By embedding non-network imports in data URLs, an attacker can execute arbitrary code, compromising system security.
Verified on various platforms, the vulnerability is mitigated by forbidding data URLs in network imports.
Exploiting this flaw can violate network import securi
cvelistv5nvd
CVE-2024-27982MEDIUMCVSS 6.5≥ 4.0, < 4.*≥ 5.0, < 5.*+16 more2024-05-07
CVE-2024-27982 [MEDIUM] CWE-444 CVE-2024-27982: The team has identified a critical vulnerability in the http server of the most recent version of No
The team has identified a critical vulnerability in the http server of the most recent version of Node, where malformed headers can lead to HTTP request smuggling. Specifically, if a space is placed before a content-length header, it is not interpreted correctly, enabling attackers to smuggle in a second request within the body of the first.
cvelistv5nvd
CVE-2024-27983HIGHCVSS 8.2≥ 4.0, < 4.*≥ 5.0, < 5.*+16 more2024-04-09
CVE-2024-27983 [HIGH] CWE-362 CVE-2024-27983: An attacker can make the Node.js HTTP/2 server completely unavailable by sending a small amount of H
An attacker can make the Node.js HTTP/2 server completely unavailable by sending a small amount of HTTP/2 frames packets with a few HTTP/2 frames inside. It is possible to leave some data in nghttp2 memory after reset when headers with HTTP/2 CONTINUATION frame are sent to the server and then a TCP connection is abruptly closed by the client triggerin
cvelistv5nvd
CVE-2024-22017HIGHCVSS 7.3≥ 4.0, < 4.*≥ 5.0, < 5.*+15 more2024-03-19
CVE-2024-22017 [HIGH] CWE-250 CVE-2024-22017: setuid() does not affect libuv's internal io_uring operations if initialized before the call to setu
setuid() does not affect libuv's internal io_uring operations if initialized before the call to setuid().
This allows the process to perform privileged operations despite presumably having dropped such privileges through a call to setuid().
This vulnerability affects all users using version greater or equal than Node.js 18.18.0, Node.js 20.4.0 and Nod
cvelistv5nvd
CVE-2024-22025MEDIUMCVSS 6.5≥ 4.0, < 4.*≥ 5.0, < 5.*+16 more2024-03-19
CVE-2024-22025 [MEDIUM] CWE-404 CVE-2024-22025: A vulnerability in Node.js has been identified, allowing for a Denial of Service (DoS) attack throug
A vulnerability in Node.js has been identified, allowing for a Denial of Service (DoS) attack through resource exhaustion when using the fetch() function to retrieve content from an untrusted URL.
The vulnerability stems from the fact that the fetch() function in Node.js always decodes Brotli, making it possible for an attacker to cause resource exh
cvelistv5nvd