p PatchFirst

PatchFirst · Latest vulnerabilities

nodejs vulnerabilities · Page 3

Vulnerabilities published for nodejs in the last 30 days: 6. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 123

  1. ALPINE-CVE-2025-23085

    Medium · CVSS 5.3Fix available

    ALPINE-CVE-2025-23085

    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 conditions. This vulnerability affects HTTP/2 Server users on Node.js v18.x, v20.x, v22.x and v23.x.

    • Update to 22.13.1-r0
    Published Updated
  2. ALPINE-CVE-2025-23084

    Medium · CVSS 5.5Fix available

    ALPINE-CVE-2025-23084

    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 separator is treated as relative to the current directory. This vulnerability affects Windows users of `path.join` API.

    • Update to 22.13.1-r0
    Published Updated
  3. ALPINE-CVE-2025-23083

    High · CVSS 7.7Fix available

    ALPINE-CVE-2025-23083

    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 (--permission) on Node.js v20, v22, and v23.

    • Update to 22.13.1-r0
    Published Updated
  4. ALPINE-CVE-2025-22150

    Medium · CVSS 6.8Fix available

    ALPINE-CVE-2025-22150

    Undici is an HTTP/1.1 client. Starting in version 4.5.0 and prior to versions 5.28.5, 6.21.1, and 7.2.3, undici uses `Math.random()` to choose the boundary for a multipart/form-data request. It is known that the output of `Math.random()` can be predicted if several of its generated values are known. If there is a mechanism in an app that sends multipart requests to an attacker-controlled website, they can use this to leak the necessary values. Therefore, an attacker can tamper with the requests going to the backend APIs if certain conditions are met. This is fixed in versions 5.28.5, 6.21.1, and 7.2.3. As a workaround, do not issue multipart

    • Update to 22.13.1-r0
    Published Updated
  5. ALPINE-CVE-2024-36137

    Low · CVSS 3.3Fix available

    ALPINE-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-r0
    Published Updated
  6. ALPINE-CVE-2023-39333

    Medium · CVSS 5.3Fix available

    ALPINE-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-r0
    Published Updated
  7. ALPINE-CVE-2024-22018

    Low · CVSS 2.9Fix available

    ALPINE-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-r0
    Published Updated
  8. ALPINE-CVE-2024-22020

    Medium · CVSS 6.5Fix available

    ALPINE-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 20.15.1-r0
    Published Updated
  9. ALPINE-CVE-2024-27982

    Medium · CVSS 6.5Fix available

    ALPINE-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 20.12.1-r0
    Published Updated
  10. ALPINE-CVE-2024-27983

    High · CVSS 8.2Fix available

    ALPINE-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 20.12.1-r0
    Published Updated
  11. ALPINE-CVE-2023-38552

    High · CVSS 7.5Fix available

    ALPINE-CVE-2023-38552

    When the Node.js policy feature checks the integrity of a resource against a trusted manifest, the application can intercept the operation and return a forged checksum to the node's policy implementation, thus effectively disabling the integrity check. Impacts: This vulnerability affects all users using the experimental policy mechanism in all active release lines: 18.x and, 20.x. Please note that at the time this CVE was issued, the policy mechanism is an experimental feature of Node.js.

    • Update to 18.18.2-r0
    Published Updated
  12. ALPINE-CVE-2023-45143

    Low · CVSS 3.5Fix available

    ALPINE-CVE-2023-45143

    Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Cookie` headers. By design, `cookie` headers are forbidden request headers, disallowing them to be set in RequestInit.headers in browser environments. Since undici handles headers more liberally than the spec, there was a disconnect from the assumptions the spec made, and undici's implementation of fetch. As such this may lead to accidental leakage of cookie to a third-party site or a malicious attacker who can control the redirection target (ie. an open redirector)

    • Update to 18.18.2-r0
    Published Updated
  13. ALPINE-CVE-2023-32559

    High · CVSS 7.5Fix available

    ALPINE-CVE-2023-32559

    A privilege escalation vulnerability exists in the experimental policy mechanism in all active release lines: 16.x, 18.x and, 20.x. The use of the deprecated API `process.binding()` can bypass the policy mechanism by requiring internal modules and eventually take advantage of `process.binding('spawn_sync')` run arbitrary code, outside of the limits defined in a `policy.json` file. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js.

    • Update to 18.17.1-r0
    Published Updated
  14. ALPINE-CVE-2023-32002

    Critical · CVSS 9.8Fix available

    ALPINE-CVE-2023-32002

    The use of `Module._load()` can bypass the policy mechanism and require modules outside of the policy.json definition for a given module. This vulnerability affects all users using the experimental policy mechanism in all active release lines: 16.x, 18.x and, 20.x. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js.

    • Update to 18.17.1-r0
    Published Updated
  15. ALPINE-CVE-2023-32006

    High · CVSS 8.8Fix available

    ALPINE-CVE-2023-32006

    The use of `module.constructor.createRequire()` can bypass the policy mechanism and require modules outside of the policy.json definition for a given module. This vulnerability affects all users using the experimental policy mechanism in all active release lines: 16.x, 18.x, and, 20.x. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js.

    • Update to 18.17.1-r0
    Published Updated
  16. ALPINE-CVE-2023-23919

    High · CVSS 7.5Fix available

    ALPINE-CVE-2023-23919

    A cryptographic vulnerability exists in Node.js <19.2.0, <18.14.1, <16.19.1, <14.21.3 that in some cases did does not clear the OpenSSL error stack after operations that may set it. This may lead to false positive errors during subsequent cryptographic operations that happen to be on the same thread. This in turn could be used to cause a denial of service.

    • Update to 18.14.1-r0
    Published Updated
  17. ALPINE-CVE-2023-23918

    High · CVSS 7.5Fix available

    ALPINE-CVE-2023-23918

    A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19.1 and <14.21.3 that made it possible to bypass the experimental Permissions (https://nodejs.org/api/permissions.html) feature in Node.js and access non authorized modules by using process.mainModule.require(). This only affects users who had enabled the experimental permissions option with --experimental-policy.

    • Update to 18.14.1-r0
    Published Updated
  18. ALPINE-CVE-2023-24807

    High · CVSS 7.5Fix available

    ALPINE-CVE-2023-24807

    Undici is an HTTP/1.1 client for Node.js. Prior to version 5.19.1, the `Headers.set()` and `Headers.append()` methods are vulnerable to Regular Expression Denial of Service (ReDoS) attacks when untrusted values are passed into the functions. This is due to the inefficient regular expression used to normalize the values in the `headerValueNormalize()` utility function. This vulnerability was patched in v5.19.1. No known workarounds are available.

    • Update to 18.14.1-r0
    Published Updated
  19. ALPINE-CVE-2023-23936

    Medium · CVSS 5.4Fix available

    ALPINE-CVE-2023-23936

    Undici is an HTTP/1.1 client for Node.js. Starting with version 2.0.0 and prior to version 5.19.1, the undici library does not protect `host` HTTP header from CRLF injection vulnerabilities. This issue is patched in Undici v5.19.1. As a workaround, sanitize the `headers.host` string before passing to undici.

    • Update to 18.14.1-r0
    Published Updated

Check your server

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

Check your server →