rpm package
almalinux/nodejs
pkg:rpm/almalinux/nodejs
Vulnerabilities (138)
| CVE | Sev | CVSS | KEV | Affected versions | Fixed in | Published | Description |
|---|---|---|---|---|---|---|---|
| CVE-2023-39333 | Med | 5.3 | < 1:18.18.2-2.module_el9.2.0+43+3ebc9e20 | 1:18.18.2-2.module_el9.2.0+43+3ebc9e20 | Sep 7, 2024 | 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. | |
| CVE-2024-22018 | Low | 2.9 | < 1:20.16.0-1.module_el8.10.0+3882+e12e42db | 1:20.16.0-1.module_el8.10.0+3882+e12e42db | Jul 10, 2024 | 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 acto | |
| CVE-2024-22020 | Med | 6.5 | < 1:20.16.0-1.module_el8.10.0+3882+e12e42db | 1:20.16.0-1.module_el8.10.0+3882+e12e42db | Jul 9, 2024 | 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 i | |
| CVE-2024-27982 | Med | 6.5 | < 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | May 7, 2024 | 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 attacke | |
| CVE-2024-27983 | Hig | 8.2 | < 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | Apr 9, 2024 | 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 se | |
| CVE-2024-28182 | Med | 5.3 | < 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | Apr 4, 2024 | nghttp2 is an implementation of the Hypertext Transfer Protocol version 2 in C. The nghttp2 library prior to version 1.61.0 keeps reading the unbounded number of HTTP/2 CONTINUATION frames even after a stream is reset to keep HPACK context in sync. This causes excessive CPU usag | |
| CVE-2024-28863 | Med | 6.5 | < 1:20.16.0-1.module_el8.10.0+3882+e12e42db | 1:20.16.0-1.module_el8.10.0+3882+e12e42db | Mar 21, 2024 | node-tar is a Tar for Node.js. node-tar prior to version 6.2.1 has no limit on the number of sub-folders created in the folder creation process. An attacker who generates a large number of sub-folders can consume memory on the system running node-tar and even crash the Node.js cl | |
| CVE-2024-22025 | Med | 6.5 | < 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | Mar 19, 2024 | 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 d | |
| CVE-2024-22017 | Hig | 7.3 | < 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | Mar 19, 2024 | 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 us | |
| CVE-2024-25629 | Med | 4.4 | < 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | Feb 23, 2024 | c-ares is a C library for asynchronous DNS requests. `ares__read_line()` is used to parse local configuration files such as `/etc/resolv.conf`, `/etc/nsswitch.conf`, the `HOSTALIASES` file, and if using a c-ares version prior to 1.27.0, the `/etc/hosts` file. If any of these conf | |
| CVE-2024-22019 | Hig | 7.5 | < 1:16.20.2-4.el9_3 | 1:16.20.2-4.el9_3 | Feb 20, 2024 | 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 li | |
| CVE-2024-21896 | Cri | 9.8 | < 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | Feb 20, 2024 | 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 B | |
| CVE-2024-21892 | Hig | 7.8 | < 1:18.19.1-1.module_el9.3.0+59+28b95644 | 1:18.19.1-1.module_el9.3.0+59+28b95644 | Feb 20, 2024 | 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 incorrec | |
| CVE-2024-21891 | Hig | 8.8 | < 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | Feb 20, 2024 | 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 usi | |
| CVE-2024-21890 | Med | 6.5 | < 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | Feb 20, 2024 | 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 | |
| CVE-2023-30590 | Hig | 7.5 | < 1:18.16.1-1.module_el9.2.0+31+cbae0c8e | 1:18.16.1-1.module_el9.2.0+31+cbae0c8e | Nov 28, 2023 | 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 setPrivat | |
| CVE-2023-30588 | Med | 5.3 | < 1:18.16.1-1.module_el9.2.0+31+cbae0c8e | 1:18.16.1-1.module_el9.2.0+31+cbae0c8e | Nov 28, 2023 | When an invalid public key is used to create an x509 certificate using the crypto.X509Certificate() API a non-expect termination occurs making it susceptible to DoS attacks when the attacker could force interruptions of application processing, as the process terminates when acces | |
| CVE-2023-30581 | Hig | 7.5 | < 1:18.16.1-1.module_el9.2.0+31+cbae0c8e | 1:18.16.1-1.module_el9.2.0+31+cbae0c8e | Nov 23, 2023 | The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20. | |
| CVE-2023-39332 | Cri | 9.8 | < 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 | 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 | Oct 18, 2023 | Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects. In Node.js environments, the `Buffer` class extends the `Uint8Array` class. Node.js prevents path traversal through strings (see CVE-2023-30584) and `Buffer` objects (see CVE-2023-32004) | |
| CVE-2023-39331 | Hig | 7.5 | < 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 | 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 | Oct 18, 2023 | A previously disclosed vulnerability (CVE-2023-30584) was patched insufficiently in commit 205f1e6. The new path traversal vulnerability arises because the implementation does not protect itself against the application overwriting built-in utility functions with user-defined impl |
- affected < 1:18.18.2-2.module_el9.2.0+43+3ebc9e20fixed 1:18.18.2-2.module_el9.2.0+43+3ebc9e20
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.
- affected < 1:20.16.0-1.module_el8.10.0+3882+e12e42dbfixed 1:20.16.0-1.module_el8.10.0+3882+e12e42db
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 acto
- affected < 1:20.16.0-1.module_el8.10.0+3882+e12e42dbfixed 1:20.16.0-1.module_el8.10.0+3882+e12e42db
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 i
- affected < 1:20.12.2-2.module_el8.9.0+3827+11b91f3efixed 1:20.12.2-2.module_el8.9.0+3827+11b91f3e
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 attacke
- affected < 1:20.12.2-2.module_el8.9.0+3827+11b91f3efixed 1:20.12.2-2.module_el8.9.0+3827+11b91f3e
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 se
- affected < 1:20.12.2-2.module_el8.9.0+3827+11b91f3efixed 1:20.12.2-2.module_el8.9.0+3827+11b91f3e
nghttp2 is an implementation of the Hypertext Transfer Protocol version 2 in C. The nghttp2 library prior to version 1.61.0 keeps reading the unbounded number of HTTP/2 CONTINUATION frames even after a stream is reset to keep HPACK context in sync. This causes excessive CPU usag
- affected < 1:20.16.0-1.module_el8.10.0+3882+e12e42dbfixed 1:20.16.0-1.module_el8.10.0+3882+e12e42db
node-tar is a Tar for Node.js. node-tar prior to version 6.2.1 has no limit on the number of sub-folders created in the folder creation process. An attacker who generates a large number of sub-folders can consume memory on the system running node-tar and even crash the Node.js cl
- affected < 1:20.12.2-2.module_el8.9.0+3827+11b91f3efixed 1:20.12.2-2.module_el8.9.0+3827+11b91f3e
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 d
- affected < 1:20.11.1-1.module_el8.9.0+3775+d8460d35fixed 1:20.11.1-1.module_el8.9.0+3775+d8460d35
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 us
- affected < 1:20.12.2-2.module_el8.9.0+3827+11b91f3efixed 1:20.12.2-2.module_el8.9.0+3827+11b91f3e
c-ares is a C library for asynchronous DNS requests. `ares__read_line()` is used to parse local configuration files such as `/etc/resolv.conf`, `/etc/nsswitch.conf`, the `HOSTALIASES` file, and if using a c-ares version prior to 1.27.0, the `/etc/hosts` file. If any of these conf
- affected < 1:16.20.2-4.el9_3fixed 1:16.20.2-4.el9_3
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 li
- affected < 1:20.11.1-1.module_el8.9.0+3775+d8460d35fixed 1:20.11.1-1.module_el8.9.0+3775+d8460d35
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 B
- affected < 1:18.19.1-1.module_el9.3.0+59+28b95644fixed 1:18.19.1-1.module_el9.3.0+59+28b95644
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 incorrec
- affected < 1:20.11.1-1.module_el8.9.0+3775+d8460d35fixed 1:20.11.1-1.module_el8.9.0+3775+d8460d35
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 usi
- affected < 1:20.11.1-1.module_el8.9.0+3775+d8460d35fixed 1:20.11.1-1.module_el8.9.0+3775+d8460d35
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
- affected < 1:18.16.1-1.module_el9.2.0+31+cbae0c8efixed 1:18.16.1-1.module_el9.2.0+31+cbae0c8e
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 setPrivat
- affected < 1:18.16.1-1.module_el9.2.0+31+cbae0c8efixed 1:18.16.1-1.module_el9.2.0+31+cbae0c8e
When an invalid public key is used to create an x509 certificate using the crypto.X509Certificate() API a non-expect termination occurs making it susceptible to DoS attacks when the attacker could force interruptions of application processing, as the process terminates when acces
- affected < 1:18.16.1-1.module_el9.2.0+31+cbae0c8efixed 1:18.16.1-1.module_el9.2.0+31+cbae0c8e
The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20.
- affected < 1:20.8.1-1.module_el8.9.0+3675+0258a6d9fixed 1:20.8.1-1.module_el8.9.0+3675+0258a6d9
Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects. In Node.js environments, the `Buffer` class extends the `Uint8Array` class. Node.js prevents path traversal through strings (see CVE-2023-30584) and `Buffer` objects (see CVE-2023-32004)
- affected < 1:20.8.1-1.module_el8.9.0+3675+0258a6d9fixed 1:20.8.1-1.module_el8.9.0+3675+0258a6d9
A previously disclosed vulnerability (CVE-2023-30584) was patched insufficiently in commit 205f1e6. The new path traversal vulnerability arises because the implementation does not protect itself against the application overwriting built-in utility functions with user-defined impl
Page 4 of 7