Description
Starlet versions before 0.33 for Perl allow a request declaring a large Content-Length to kill a worker by exhausting memory.
The request body is read in a loop that asks sysread for all of the remaining declared length at once. Perl grows the read buffer to that size before any data arrives, so a length larger than available memory makes the worker exit with an uncatchable out of memory error before the application is called.
A remote attacker can force a worker restart with each request of a few bytes.
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 | — |