[security - high] nodejs:22 security update
エラータID: AXSA:2026-2084: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+el9+1204+bd8437f8.src.rpm
MD5: 04e7d6a4bc600f26676832ea88838093
SHA-256: b6de7510b0b510995074ee1fad5e08e8e6570a291269289328bd88c224bc7ed3
Size: 455.16 kB - nodejs-packaging-2021.06-6.module+el9+1204+bd8437f8.src.rpm
MD5: 900a7f8fd449ef37d6a0b355fc495cd9
SHA-256: d0b3d687c313d405fc9b3e7a80c4c7117513c5e75d6d8cd20ea49dbde52d27c3
Size: 25.41 kB - nodejs-22.23.2-2.module+el9+1204+bd8437f8.src.rpm
MD5: bbe39ce3d8b1956ef1b04a285412d7f3
SHA-256: 94d23e6852299cbe3de50e7523be7e4b52c7c2ea7141a2dac6034157f48e42a0
Size: 92.48 MB
Asianux Server 9 for x86_64
- nodejs-22.23.2-2.module+el9+1204+bd8437f8.x86_64.rpm
MD5: 10238246cd1ce9101c0c57e0a203d7bd
SHA-256: 0a0fe2d6e97aeb8ddfb523894da57f0cc51a8613bb61aa2e22e5fab72bd6ec4d
Size: 2.18 MB - nodejs-debugsource-22.23.2-2.module+el9+1204+bd8437f8.x86_64.rpm
MD5: 288605f719b0179a44001ada82b59e58
SHA-256: cbb2149670873b29aa1c4921cd1bd613f1bf05658317d912db0fbacea80fcd5e
Size: 18.07 MB - nodejs-devel-22.23.2-2.module+el9+1204+bd8437f8.x86_64.rpm
MD5: fbc3d660c902789b865b3f7293539d28
SHA-256: 8e4c2d8877ea82dca491c785933da6e6d54ecd1551777aaa65bdca7433cabb5a
Size: 277.52 kB - nodejs-docs-22.23.2-2.module+el9+1204+bd8437f8.noarch.rpm
MD5: 07865ff260f49abe07e40e962e0d5d43
SHA-256: 36ff9d78c2c4614b9cdd135833b87455f766906bd452733f037a2163bd95f4dc
Size: 9.25 MB - nodejs-full-i18n-22.23.2-2.module+el9+1204+bd8437f8.x86_64.rpm
MD5: 2e8214252cc16067cda60359f954ccad
SHA-256: 2d0ad03c93bf9828f36fdcf2903b002dcbaf639240795646184699f0ccf83e5a
Size: 8.87 MB - nodejs-libs-22.23.2-2.module+el9+1204+bd8437f8.x86_64.rpm
MD5: 52cf6e4bdef76a1bf745e772ad9a38cc
SHA-256: 42d74c1db20d99ed8846ee411aaf357d77d24209cc44c11bd821b8bcb8ab96c5
Size: 20.55 MB - nodejs-nodemon-3.1.14-2.module+el9+1204+bd8437f8.noarch.rpm
MD5: 7d965c1e0e57eb551f567eeabaaeebae
SHA-256: 70e9aee6aedd026e9afd399053bfb1f64bc937c98f46643697455b7eeafb82e9
Size: 373.86 kB - nodejs-packaging-2021.06-6.module+el9+1204+bd8437f8.noarch.rpm
MD5: d1d3d8c1391c034bc95e47c3819eeb2f
SHA-256: 7717ec217eb2765c5983a5cbe801e78d6ef97f8123d4482ceba3f900a02f929f
Size: 18.66 kB - nodejs-packaging-bundler-2021.06-6.module+el9+1204+bd8437f8.noarch.rpm
MD5: 6ab5b3824ed40fc1a07d66bede2446a9
SHA-256: af14dd731d784c92650fa8040f74bac33514b7389a59ae164dd322710b9ba029
Size: 8.47 kB - npm-10.9.8-1.22.23.2.2.module+el9+1204+bd8437f8.x86_64.rpm
MD5: 0b6e9a43a479385175df68651b9cc739
SHA-256: 91430b0c60feb44e1b0540645d20f6057ba97b9603e0bea22c9ecc83aa4048f7
Size: 2.37 MB - v8-12.4-devel-12.4.254.21-1.22.23.2.2.module+el9+1204+bd8437f8.x86_64.rpm
MD5: f7e42a20a5b81f7f0005c13b6e43d323
SHA-256: 2258671d61412753d07acfe6d5f51a601ebc47c4efa057d03c31dd2877641963
Size: 16.49 kB