## Impact Undici's HTTP/1.1 client is vulnerable to response queue poisoning on reused keep-alive sockets. An attacker-controlled upstream server can inject an unsolicited HTTP/1.1 response onto an idle socket after a request completes. When the client dispatches the next request on that socket, it associates the injected response with the new request, causing responses to be delivered to the wrong requests. This requires an attacker-controlled or compromised upstream HTTP/1.1 server and keep-alive connection reuse. ## Patches Upgrade to undici v6.27.0, v7.28.0 or v8.5.0. ## Workarounds Disable keep-alive connection reuse by setting `keepAliveTimeout: 0` on the Client or Pool.
Update undici to 6.27.0; undici to 7.28.0; undici to 8.5.0 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanundici vulnerable to HTTP response queue poisoning via keep-alive socket reuse affects undici (npm), undici (npm), undici (npm). Severity is low. ## Impact Undici's HTTP/1.1 client is vulnerable to response queue poisoning on reused keep-alive sockets. An attacker-controlled upstream server can inject an unsolicited HTTP/1.1 response onto an idle socket after a request completes. When the client dispatches the next request on that socket, it associates the injected response with the new request, causing responses to be delivered to the wrong requests. This requires an attacker-controlled or compromised upstream HTTP/1.1 server and keep-alive connection reuse. ## Patches Upgrade to undici v6.27.0, v7.28.0 or v8.5.0. ## Workarounds Disable keep-alive connection reuse by setting `keepAliveTimeout: 0` on the Client or Pool.
AI coding agents often install or upgrade packages automatically in npm. A low vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
## Impact Undici's HTTP/1.1 client is vulnerable to response queue poisoning on reused keep-alive sockets. An attacker-controlled upstream server can inject an unsolicited HTTP/1.1 response onto an idle socket after a request completes. When the client dispatches the next request on that socket, it associates the injected response with the new request, causing responses to be delivered to the wrong requests. This requires an attacker-controlled or compromised upstream HTTP/1.1 server and keep-alive connection reuse. ## Patches Upgrade to undici v6.27.0, v7.28.0 or v8.5.0. ## Workarounds Disable keep-alive connection reuse by setting `keepAliveTimeout: 0` on the Client or Pool.
Update undici to 6.27.0; undici to 7.28.0; undici to 8.5.0 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanundici vulnerable to HTTP response queue poisoning via keep-alive socket reuse affects undici (npm), undici (npm), undici (npm). Severity is low. ## Impact Undici's HTTP/1.1 client is vulnerable to response queue poisoning on reused keep-alive sockets. An attacker-controlled upstream server can inject an unsolicited HTTP/1.1 response onto an idle socket after a request completes. When the client dispatches the next request on that socket, it associates the injected response with the new request, causing responses to be delivered to the wrong requests. This requires an attacker-controlled or compromised upstream HTTP/1.1 server and keep-alive connection reuse. ## Patches Upgrade to undici v6.27.0, v7.28.0 or v8.5.0. ## Workarounds Disable keep-alive connection reuse by setting `keepAliveTimeout: 0` on the Client or Pool.
AI coding agents often install or upgrade packages automatically in npm. A low vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| undicinpm |
|---|
| <6.27.0 |
| 6.27.0 |
| undicinpm | >=7.0.0,<7.28.0 | 7.28.0 |
|---|
| undicinpm | >=8.0.0,<8.5.0 | 8.5.0 |
|---|
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard| undicinpm |
|---|
| <6.27.0 |
| 6.27.0 |
| undicinpm | >=7.0.0,<7.28.0 | 7.28.0 |
|---|
| undicinpm | >=8.0.0,<8.5.0 | 8.5.0 |
|---|
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard