p PatchFirst

PatchFirst · Latest vulnerabilities

node.js vulnerabilities · Page 4

Vulnerabilities published for node.js in the last 30 days: 9. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Early warnings

Fresh vulnerability reports from vendor announcements and security news. These warnings do not change the security rating.

  1. node.js

    No fix published

    Node.js: remote code execution

    According to OpenNet, Node.js has a remote code execution vulnerability (CVE-2026-111497). The exact affected versions are unspecified. The report does not name a fixed version.

    What to do now: Check whether a Node.js update with the fix is available and install it.

    CVE-2026-111497

Vulnerabilities: 148

  1. CVE-2024-36138

    High · CVSS 8.1EPSS 1.1%Fix available

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

    • Update to 18.20.4
    • Update to 20.15.1
    • Update to 22.4.1
    Published Updated
  2. CVE-2023-39333

    Medium · CVSS 5.3EPSS 1.11%Fix available

    CVE-2023-39333

    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. The vulnerable feature is only available if Node.js is started with the `--experimental-wasm-modules` command line option.

    • Update to 18.18.2
    • Update to 20.8.1
    Published Updated
  3. CVE-2024-36137

    Low · CVSS 3.3EPSS 0.4%Fix available

    CVE-2024-36137

    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.

    • Update to 20.15.1
    • Update to 22.4.1
    Published Updated
  4. CVE-2023-30582

    Medium · CVSS 5.3EPSS 0.58%Fix available

    CVE-2023-30582

    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 do not have explicit read access to. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

    • Update to 20.3.1
    Published Updated
  5. CVE-2023-30587

    High · CVSS 7.5EPSS 0.75%Fix available

    CVE-2023-30587

    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 Worker constructor before initializing a new WorkerImpl. This vulnerability exclusively affects Node.js users employing the permission model mechanism. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

    • Update to 20.3.1
    Published Updated
  6. CVE-2023-30583

    High · CVSS 7.5EPSS 0.72%Fix available

    CVE-2023-30583

    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.

    • Update to 20.3.1
    Published Updated
  7. CVE-2023-30584

    High · CVSS 7.7EPSS 0.34%Fix available

    CVE-2023-30584

    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.

    • Update to 20.3.1
    Published Updated
  8. CVE-2024-22018

    Low · CVSS 2.9EPSS 0.46%Fix available

    CVE-2024-22018

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

    • Update to 20.15.1
    • Update to 22.4.1
    Published Updated
  9. CVE-2024-22020

    Medium · CVSS 6.5EPSS 1.1%Fix available

    CVE-2024-22020

    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 security, posing a risk to developers and servers.

    • Update to 18.20.4
    • Update to 20.15.1
    • Update to 22.4.1
    Published Updated
  10. CVE-2024-27982

    Medium · CVSS 6.5EPSS 1.16%Fix available

    CVE-2024-27982

    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.

    • Update to 18.20.1
    • Update to 20.12.1
    • Update to 21.7.2
    Published Updated
  11. CVE-2024-3566

    Critical · CVSS 9.8EPSS 6.83%No fix published

    Command injection vulnerability in programing languages on Microsoft Windows operating system.

    A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function when the specific conditions are satisfied.

    Published Updated
  12. CVE-2024-27983

    High · CVSS 8.2EPSS 87.21%Fix available

    CVE-2024-27983

    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 triggering the Http2Session destructor while header frames are still being processed (and stored in memory) causing a race condition.

    • Update to 18.20.1
    • Update to 20.12.1
    • Update to 21.7.2
    Published Updated
  13. CVE-2024-22025

    Medium · CVSS 6.5EPSS 1.31%Fix available

    CVE-2024-22025

    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 exhaustion when fetching content from an untrusted URL. An attacker controlling the URL passed into fetch() can exploit this vulnerability to exhaust memory, potentially leading to process termination, depending on the system configuration.

    • Update to 18.19.1
    • Update to 20.11.1
    • Update to 21.6.2
    Published Updated
  14. CVE-2024-22017

    High · CVSS 7.3EPSS 0.89%Fix available

    CVE-2024-22017

    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 Node.js 21.

    • Update to 20.11.1
    • Update to 21.6.2
    Published Updated
  15. CVE-2024-21896

    High · CVSS 7.9EPSS 1.26%Fix available

    CVE-2024-21896

    The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by the user. If the path is to be treated as a Buffer, the implementation uses Buffer.from() to obtain a Buffer from the result of path.resolve(). By monkey-patching Buffer internals, namely, Buffer.prototype.utf8Write, the application can modify the result of path.resolve(), which leads to a path traversal vulnerability. 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.

    • Update to 20.11.1
    • Update to 21.6.2
    Published Updated
  16. CVE-2024-21890

    Medium · CVSS 5EPSS 0.95%Fix available

    CVE-2024-21890

    The Node.js Permission Model does not clarify in the documentation that wildcards should be only used as the last character of a file path. For example: ``` --allow-fs-read=/home/node/.ssh/*.pub ``` will ignore `pub` and give access to everything after `.ssh/`. This misleading documentation 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.

    • Update to 20.11.1
    • Update to 21.6.2
    Published Updated
  17. CVE-2024-21891

    High · CVSS 7.9EPSS 1.24%Fix available

    CVE-2024-21891

    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.

    • Update to 20.11.1
    • Update to 21.6.2
    Published Updated
  18. CVE-2024-22019

    High · CVSS 7.5EPSS 3.17%Fix available

    CVE-2024-22019

    A vulnerability in Node.js HTTP servers allows an attacker to send a specially crafted HTTP request with chunked encoding, leading to resource exhaustion and denial of service (DoS). The server reads an unbounded number of bytes from a single connection, exploiting the lack of limitations on chunk extension bytes. The issue can cause CPU and network bandwidth exhaustion, bypassing standard safeguards like timeouts and body size limits.

    • Update to 18.19.1
    • Update to 20.11.1
    • Update to 21.6.2
    Published Updated
  19. CVE-2024-21892

    High · CVSS 7.5EPSS 0.56%Fix available

    CVE-2024-21892

    On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the process is running with elevated privileges with the only exception of CAP_NET_BIND_SERVICE. Due to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when certain other capabilities have been set. This allows unprivileged users to inject code that inherits the process's elevated privileges.

    • Update to 18.19.1
    • Update to 20.11.1
    • Update to 21.6.2
    Published Updated
  20. CVE-2023-30590

    High · CVSS 7.5EPSS 1.46%Fix available

    CVE-2023-30590

    The generateKeys() API function returned from crypto.createDiffieHellman() only generates missing (or outdated) keys, that is, it only generates a private key if none has been set yet, but the function is also needed to compute the corresponding public key after calling setPrivateKey(). However, the documentation says this API call: "Generates private and public Diffie-Hellman key values". The documented behavior is very different from the actual behavior, and this difference could easily lead to security issues in applications that use these APIs as the DiffieHellman may be used as the basis for application-level security, implications are

    • Update to 16.20.1
    • Update to 18.16.1
    • Update to 20.3.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →