Skip to content
OpenAdvisories

Description

undici's retry interceptor can deliver a response whose body length does not match the Content-Length header exposed to the application after a retry or resume of a partial response. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, a malicious or faulty upstream can return a partial response with a mismatched framing header, close the socket early, and have the retry interceptor assemble a body of a different length while the original Content-Length stays attached. Applications that use the retry interceptor and forward upstream headers and bodies downstream, such as proxies or gateways, may then emit an invalid HTTP response with a stale Content-Length, leading to downstream response desynchronization, connection hangs, or response corruption. Exploitation requires the retry interceptor enabled, an upstream returning a mismatched partial response, and a downstream forwarder that does not remove or recalculate Content-Length. The issue is fixed in undici 6.28.0, 7.29.0, and 8.9.0.

Affected products

VendorProductAffectedFixed
undici undici < 6.28.0, 7.0.0 – < 7.29.0, 8.0.0 – < 8.9.0 6.28.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-undici 8.9.0+dfsg+~cs3.2.0-1 —
Debian 13 node-undici No fix yet —
Debian 12 node-undici No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-undici No fix yet —
Ubuntu 26.04 LTS node-undici No fix yet —
Ubuntu 24.04 LTS node-undici No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 nodejs24 +6 24.18.1-0.1.hum1 RHSA-2026:48537
Red Hat Hardened Images 1 nodejs24-npm 11.16.0-1.24.18.1.0.1.hum1 RHSA-2026:48537
Red Hat Hardened Images 1 nodejs26 +6 26.5.1-1.5.hum1 RHSA-2026:48273
Red Hat Hardened Images 1 nodejs26-npm 11.17.0-1.26.5.1.1.5.hum1 RHSA-2026:48273
ReleasePackageFixed inAdvisory
SLES 15 SP6 nodejs20 20.20.2-150600.3.21.1 SUSE-SU-2026:3929-1
SLES 15 SP5 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
SLES 15 SP5 nodejs20 20.20.2-150500.11.30.1 SUSE-SU-2026:3930-1
SLES 15 SP4 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
SLES 12 SP5 nodejs18 18.20.8-8.44.1 SUSE-SU-2026:4248-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 nodejs20 20.20.2-150600.3.21.1 SUSE-SU-2026:3929-1
SLES for SAP 15 SP5 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
SLES for SAP 15 SP5 nodejs20 20.20.2-150500.11.30.1 SUSE-SU-2026:3930-1
SLES for SAP 15 SP4 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
SLE HPC 15 SP5 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
SLE HPC 15 SP5 nodejs20 20.20.2-150500.11.30.1 SUSE-SU-2026:3930-1
SLE HPC 15 SP4 nodejs18 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs22 +4 1:22.23.2-1.amzn2023.0.2 ALAS2023-2026-2060
Amazon Linux 2023 nodejs22-npm 1:10.9.8-1.22.23.2.1.amzn2023.0.2 ALAS2023-2026-2060
Amazon Linux 2023 nodejs24 +4 1:24.18.1-1.amzn2023.0.2 ALAS2023-2026-2059
Amazon Linux 2023 nodejs24-npm 1:11.16.0-1.24.18.1.1.amzn2023.0.2 ALAS2023-2026-2059
Amazon Linux 2023 v8-12.4-devel 3:12.4.254.21-1.22.23.2.1.amzn2023.0.2 ALAS2023-2026-2060
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.18.1.1.amzn2023.0.2 ALAS2023-2026-2059

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling code-server 4.130.0-r5 —
Wolfi rolling langfuse-3 +1 3.225.0-r3 —
Wolfi rolling langfuse-3-compat 3.225.7-r6 —
Wolfi rolling npm-12 12.0.2-r2 —
Wolfi rolling prism 5.16.0-r2 —
Wolfi rolling pulumi-language-nodejs 3.256.0-r1 —
Wolfi rolling renovate 44.11.3-r0 —
Wolfi rolling saf 1.7.0-r0 —
Wolfi rolling vitess-24 24.0.2-r10 —
Wolfi rolling vitess-24-compat 24.0.3-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm undici < 6.28.0 6.28.0 GHSA-8xcm-r25x-g524
npm undici >= 7.0.0, < 7.29.0 7.29.0 GHSA-8xcm-r25x-g524
npm undici >= 8.0.0, < 8.9.0 8.9.0 GHSA-8xcm-r25x-g524

Advisories 10

References