Description
Starlet versions before 0.33 for Perl send a body in responses to HEAD requests, corrupting the next response on a persistent or pipelined connection.
The request method is not passed to the response writer, so whatever body the application returns for a HEAD request is sent. With Plack::Middleware::Head the body is empty, but an HTTP/1.1 response without a Content-Length header still gets the chunked encoding terminator. Responses with status 204 or 304 are also sent with their body.
Pipelined GET and HEAD requests keep the connection open even when keep-alive is disabled, which is the default. A client or proxy reading the connection takes the extra bytes as the start of the next response, which may desynchronize a proxy that shares the connection across clients.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Starlet | < 0.33 | 0.33 |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | starlet | 0.33-1 | — |
| Debian 13 | starlet | No fix yet | — |
| Debian 12 | starlet | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | starlet | No fix yet | — |
| Ubuntu 26.04 LTS | starlet | No fix yet | — |
| Ubuntu 24.04 LTS | starlet | No fix yet | — |
| Ubuntu 22.04 LTS | starlet | No fix yet | — |
| Ubuntu 20.04 LTS | starlet | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | starlet | No fix yet | — |
| Ubuntu 16.04 LTS | starlet | No fix yet | — |