Description
Starman versions before 0.4018 for Perl allows HTTP Request Smuggling via Improper Header Precedence. Starman incorrectly prioritizes "Content-Length" over "Transfer-Encoding: chunked" when both headers are present in an HTTP request. Per RFC 7230 3.3.3, Transfer-Encoding must take precedence. An attacker could exploit this to smuggle malicious HTTP requests via a front-end reverse proxy.
Problem types
CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Product status
Any version before 0.4018
Timeline
| 2027-04-12: | Issue identified by CPANSec |
| 2027-04-27: | Issue reported to software maintainer |
| 2027-04-27: | Fix committed to public Github repository |
| 2027-04-27: | Updated version uploaded to CPAN |
Credits
CPANSec
References
www.openwall.com/lists/oss-security/2026/04/29/1
github.com/...ced205f0805027e9d9c0731f8c40b104220604ed.patch
metacpan.org/release/MIYAGAWA/Starman-0.4018/changes
datatracker.ietf.org/doc/html/rfc7230