Описание
Security update for nodejs22
This update for nodejs22 fixes the following issues:
Security fixes:
- CVE-2026-22036: Fixed unbounded decompression chain in HTTP response leading to resource exhaustion (bsc#1256848)
- CVE-2026-21637: Fixed synchronous exceptions thrown during callbacks that bypass TLS error handling and causing denial of service (bsc#1256576)
- CVE-2025-55132: Fixed futimes() ability to acces file even if process has read permissions only (bsc#1256571)
- CVE-2025-55131: Fixed race condition that allowed allocations with leftover data leading to in-process secrets exposure (bsc#1256570)
- CVE-2025-55130: Fixed filesystem permissions bypass via crafted symlinks (bsc#1256569)
- CVE-2025-59465: Fixed malformed HTTP/2 HEADERS frame with invalid HPACK leading to crash (bsc#1256573)
- CVE-2025-59466: Fixed uncatchable 'Maximum call stack size exceeded' error leading to crash (bsc#1256574)
Other fixes:
-
Update to 22.22.0:
- deps: updated undici to 6.23.0
- deps: updated bundled c-ares to 1.34.6 (if used)
- add TLSSocket default error handler
- disable futimes when permission model is enabled
- require full read and write to symlink APIs
- rethrow stack overflow exceptions in async_hooks
- refactor unsafe buffer creation to remove zero-fill toggle
- route callback exceptions through error handlers
-
Update to 22.21.1:
- src: avoid unnecessary string -> char* -> string round trips
- src: remove unnecessary shadowed functions on Utf8Value & BufferValue
- process: fix hrtime fast call signatures
- http: improve writeEarlyHints by avoiding for-of loop
-
Update to 22.21.0:
- cli: add --use-env-proxy
- http: support http proxy for fetch under NODE_USE_ENV_PROXY
- http: add shouldUpgradeCallback to let servers control HTTP upgrades
- http,https: add built-in proxy support in http/https.request and Agent
- src: add percentage support to --max-old-space-size
-
Update to 22.20.0
- doc: stabilize --disable-sigusr1
- doc: mark path.matchesGlob as stable
- http: add Agent.agentKeepAliveTimeoutBuffer option
- http2: add support for raw header arrays in h2Stream.respond()
- inspector: add http2 tracking support
- sea: implement execArgvExtension
- sea: support execArgv in sea config
- stream: add brotli support to CompressionStream and DecompressionStream
- test_runner: support object property mocking
- worker: add cpu profile APIs for worker
-
Update to 22.19.0
- cli: add NODE_USE_SYSTEM_CA=1
- cli: support ${pid} placeholder in --cpu-prof-name
- crypto: add tls.setDefaultCACertificates()
- dns: support max timeout
- doc: update the instruction on how to verify releases
- esm: unflag --experimental-wasm-modules
- http: add server.keepAliveTimeoutBuffer option
- lib: docs deprecate http*
- net: update net.blocklist to allow file save and file management
- process: add threadCpuUsage
- zlib: add dictionary support to zstdCompress and zstdDecompress
-
Update to 22.18.0:
- deps: update amaro to 1.1.0
- doc: add all watch-mode related flags to node.1
- doc: add islandryu to collaborators
- esm: implement import.meta.main
- fs: allow correct handling of burst in fs-events with AsyncIterator
- permission: propagate permission model flags on spawn
- sqlite: add support for readBigInts option in db connection level
- src,permission: add support to permission.has(addon)
- url: add fileURLToPathBuffer API
- watch: add --watch-kill-signal flag
- worker: make Worker async disposable
Список пакетов
Container bci/nodejs:latest
SUSE Linux Enterprise Module for Web and Scripting 15 SP7
Ссылки
- Link for SUSE-SU-2026:0301-1
- E-Mail link for SUSE-SU-2026:0301-1
- SUSE Security Ratings
- SUSE Bug 1256569
- SUSE Bug 1256570
- SUSE Bug 1256571
- SUSE Bug 1256573
- SUSE Bug 1256574
- SUSE Bug 1256576
- SUSE Bug 1256848
- SUSE CVE CVE-2025-55130 page
- SUSE CVE CVE-2025-55131 page
- SUSE CVE CVE-2025-55132 page
- SUSE CVE CVE-2025-59465 page
- SUSE CVE CVE-2025-59466 page
- SUSE CVE CVE-2026-21637 page
- SUSE CVE CVE-2026-22036 page
Описание
A flaw in Node.js's Permissions model allows attackers to bypass `--allow-fs-read` and `--allow-fs-write` restrictions using crafted relative symlink paths. By chaining directories and symlinks, a script granted access only to the current directory can escape the allowed path and read sensitive files. This breaks the expected isolation guarantees and enables arbitrary file read/write, leading to potential system compromise. This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.
Затронутые продукты
Ссылки
- CVE-2025-55130
- SUSE Bug 1256569
Описание
A flaw in Node.js's buffer allocation logic can expose uninitialized memory when allocations are interrupted, when using the `vm` module with the timeout option. Under specific timing conditions, buffers allocated with `Buffer.alloc` and other `TypedArray` instances like `Uint8Array` may contain leftover data from previous operations, allowing in-process secrets like tokens or passwords to leak or causing data corruption. While exploitation typically requires precise timing or in-process code execution, it can become remotely exploitable when untrusted input influences workload and timeouts, leading to potential confidentiality and integrity impact.
Затронутые продукты
Ссылки
- CVE-2025-55131
- SUSE Bug 1256570
Описание
A flaw in Node.js's permission model allows a file's access and modification timestamps to be changed via `futimes()` even when the process has only read permissions. Unlike `utimes()`, `futimes()` does not apply the expected write-permission checks, which means file metadata can be modified in read-only directories. This behavior could be used to alter timestamps in ways that obscure activity, reducing the reliability of logs. This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.
Затронутые продукты
Ссылки
- CVE-2025-55132
- SUSE Bug 1256571
Описание
A malformed `HTTP/2 HEADERS` frame with oversized, invalid `HPACK` data can cause Node.js to crash by triggering an unhandled `TLSSocket` error `ECONNRESET`. Instead of safely closing the connection, the process crashes, enabling a remote denial of service. This primarily affects applications that do not attach explicit error handlers to secure sockets, for example: ``` server.on('secureConnection', socket => { socket.on('error', err => { console.log(err) }) }) ```
Затронутые продукты
Ссылки
- CVE-2025-59465
- SUSE Bug 1256573
Описание
We have identified a bug in Node.js error handling where "Maximum call stack size exceeded" errors become uncatchable when `async_hooks.createHook()` is enabled. Instead of reaching `process.on('uncaughtException')`, the process terminates, making the crash unrecoverable. Applications that rely on `AsyncLocalStorage` (v22, v20) or `async_hooks.createHook()` (v24, v22, v20) become vulnerable to denial-of-service crashes triggered by deep recursion under specific conditions.
Затронутые продукты
Ссылки
- CVE-2025-59466
- SUSE Bug 1256574
Описание
A flaw in Node.js TLS error handling allows remote attackers to crash or exhaust resources of a TLS server when `pskCallback` or `ALPNCallback` are in use. Synchronous exceptions thrown during these callbacks bypass standard TLS error handling paths (tlsClientError and error), causing either immediate process termination or silent file descriptor leaks that eventually lead to denial of service. Because these callbacks process attacker-controlled input during the TLS handshake, a remote client can repeatedly trigger the issue. This vulnerability affects TLS servers using PSK or ALPN callbacks across Node.js versions where these callbacks throw without being safely wrapped.
Затронутые продукты
Ссылки
- CVE-2026-21637
- SUSE Bug 1256576
Описание
Undici is an HTTP/1.1 client for Node.js. Prior to 7.18.0 and 6.23.0, the number of links in the decompression chain is unbounded and the default maxHeaderSize allows a malicious server to insert thousands compression steps leading to high CPU usage and excessive memory allocation. This vulnerability is fixed in 7.18.0 and 6.23.0.
Затронутые продукты
Ссылки
- CVE-2026-22036
- SUSE Bug 1256843