[security - high] nodejs:22 security update
エラータID: AXSA:2026-2091:01
Node.js is a software development platform for building fast and scalable network applications in the JavaScript programming language.
Security Fix(es):
* pacote: Pacote: Denial of Service via crafted spec.rawSpec value in addGitSha function (CVE-2026-9496)
* undici: undici: Denial of Service via unrequested WebSocket subprotocol (CVE-2026-19534)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
CVE-2026-19534
undici's WebSocket client crashes the whole Node.js process during the opening handshake when a server responds with a subprotocol that the client never requested. A default WebSocket connection sends no subprotocol, but if the server's 101 response includes a Sec-WebSocket-Protocol header, undici dereferences a null value while checking it against the requested list and throws an uncaught TypeError. Because that code runs inside a microtask with no surrounding error handling, the exception propagates and terminates the process under Node's default behavior, instead of gracefully failing the connection as required by the WebSocket protocol. Any application that opens a WebSocket to an attacker-controlled or compromised server, or over a plaintext connection subject to a machine-in-the-middle, can be crashed remotely without authentication in the default configuration. This affects undici versions from 6.7.0 up to 6.28.1, from 7.0.0 up to 7.29.1, and from 8.0.0 up to 8.10.2. Users should upgrade to undici 6.28.1, 7.29.1, or 8.10.2.
CVE-2026-9496
Versions of the package pacote from 11.2.7 and before 21.5.1 are vulnerable to Denial of Service (DoS) via the addGitSha function. An attacker can exploit this vulnerability by supplying a specially crafted spec.rawSpec value that triggers the function’s regex replacement and string-manipulation logic, causing excessive CPU consumption and potentially stalling or crashing the process.
Modularity name: "nodejs"
Stream name: "22"
Update packages.
undici's WebSocket client crashes the whole Node.js process during the opening handshake when a server responds with a subprotocol that the client never requested. A default WebSocket connection sends no subprotocol, but if the server's 101 response includes a Sec-WebSocket-Protocol header, undici dereferences a null value while checking it against the requested list and throws an uncaught TypeError. Because that code runs inside a microtask with no surrounding error handling, the exception propagates and terminates the process under Node's default behavior, instead of gracefully failing the connection as required by the WebSocket protocol. Any application that opens a WebSocket to an attacker-controlled or compromised server, or over a plaintext connection subject to a machine-in-the-middle, can be crashed remotely without authentication in the default configuration. This affects undici versions from 6.7.0 up to 6.28.1, from 7.0.0 up to 7.29.1, and from 8.0.0 up to 8.10.2. Users should upgrade to undici 6.28.1, 7.29.1, or 8.10.2.
Versions of the package pacote from 11.2.7 and before 21.5.1 are vulnerable to Denial of Service (DoS) via the addGitSha function. An attacker can exploit this vulnerability by supplying a specially crafted spec.rawSpec value that triggers the function’s regex replacement and string-manipulation logic, causing excessive CPU consumption and potentially stalling or crashing the process.
N/A
SRPMS
- nodejs-nodemon-3.1.14-2.module+el8+2054+4623294c.src.rpm
MD5: fd09ac4af8c4607c889625300883dd0a
SHA-256: 09371addc4b6f06d5baa7ff4dfa6c96e5f7bf85489e9d26619ba57afa9c3da40
Size: 464.96 kB - nodejs-packaging-2021.06-6.module+el8+2054+4623294c.src.rpm
MD5: 7327f6134737583474978732e3ffe6d1
SHA-256: b0c986af7ddb47fb7e45dc4ad6d9259d07538ddae41e80c7e827d1915f22b203
Size: 30.99 kB - nodejs-22.23.2-2.module+el8+2054+4623294c.src.rpm
MD5: b5c1d9abc1ebd3e8baeb791aea455529
SHA-256: 34f3cad8a3b36c28888bfb82bfb1aac4f62e3cb7b7c6ae2503ae79571e49d435
Size: 95.50 MB
Asianux Server 8 for x86_64
- nodejs-22.23.2-2.module+el8+2054+4623294c.x86_64.rpm
MD5: cf6962e75f810ae873afc6efbbd93a7d
SHA-256: 4beeb52535b1a92c0e94764549dfb5bbd347e7aefa52b8ce03509de0acc1d302
Size: 1.99 MB - nodejs-debugsource-22.23.2-2.module+el8+2054+4623294c.x86_64.rpm
MD5: 7689e00bd22fb7febfaf94e5a7013be5
SHA-256: 81181d9b159f2b0ef5e2887fea5c3051d9a0c58db8e1885e94782a09880539e6
Size: 19.99 MB - nodejs-devel-22.23.2-2.module+el8+2054+4623294c.x86_64.rpm
MD5: 48bac536b32ad2ac4ce425267b4d92c8
SHA-256: 894e51cce98a84118f7b7eb38bb3db6ba7a037ff6b934d4afda47797b67e5326
Size: 269.94 kB - nodejs-docs-22.23.2-2.module+el8+2054+4623294c.noarch.rpm
MD5: d8aeaedc5a094278198abb0e30fc2eb7
SHA-256: 4e03e1d9783eeead83d56982b5326b688e4053657ff172762c8f0948d5f849ae
Size: 11.69 MB - nodejs-full-i18n-22.23.2-2.module+el8+2054+4623294c.x86_64.rpm
MD5: d9cb6c26e08d8a1d9dabd31041f9ad34
SHA-256: bb0c5bb429656d612b0c223276072c267ba4e61b5d786224b79cd25266cf17ad
Size: 8.60 MB - nodejs-libs-22.23.2-2.module+el8+2054+4623294c.x86_64.rpm
MD5: ff62194ae434cd455b2259918e5f047b
SHA-256: 09b61cc8a8f38c23b066a91d48617c8072dbe31d87292860c36dd4a05153ee0e
Size: 20.73 MB - nodejs-nodemon-3.1.14-2.module+el8+2054+4623294c.noarch.rpm
MD5: f51e86915cca81881106a02ff76011f5
SHA-256: 252cf7354d41a99cfd3e9489b44aadff927fdfae817ede44b011cc4adb284c23
Size: 322.45 kB - nodejs-packaging-2021.06-6.module+el8+2054+4623294c.noarch.rpm
MD5: 37ea96e2204d1b10041ad176338a3a23
SHA-256: f23156d8986f0e1036445adbe264eba94e06e6cee19920706e13c289835bf719
Size: 24.51 kB - nodejs-packaging-bundler-2021.06-6.module+el8+2054+4623294c.noarch.rpm
MD5: 9659c8c5b08fc3bd7d04e40cf01320e4
SHA-256: d98ed5785b10e3c725f1bbac6202efbe2b689ff8cb328882431b5f38bc5a290c
Size: 14.09 kB - npm-10.9.8-1.22.23.2.2.module+el8+2054+4623294c.x86_64.rpm
MD5: 59cc6efad29efa40f525773ca7a1729d
SHA-256: 14ebaab57173177d07d62b3611b8c23f329777190d8cf07de2c9cefc9ad2707b
Size: 2.16 MB - v8-12.4-devel-12.4.254.21-1.22.23.2.2.module+el8+2054+4623294c.x86_64.rpm
MD5: 9e4bd9a065c38b66ab64a15a73d60e84
SHA-256: 13c2a213cc3a1ee23623fb7ea54813c3fcfd237b72bfa3f600866f8ab83545e6
Size: 16.37 kB