PT-2026-65522 · Npm · Tiny-Http
CVSS v4.0
6.3
Medium
| Vector | AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
tiny-http versions prior to 0.12.1
Description
An issue exists where the library improperly parses the
Transfer-Encoding header. By sending this header with any value, including non-chunked codings, the library unconditionally applies chunk-decoding and ignores the Content-Length header. This creates a discrepancy between the library and a correctly implemented front-end proxy, allowing remote attackers to desynchronize request framing and perform request smuggling. Additionally, sending non-chunked bodies with non-chunked Transfer-Encoding values can lead to failed body reads, which consumes worker threads and ties up connections without notifying clients of the error.Recommendations
Update to a version newer than 0.12.0.
Exploit
Fix
HTTP Request/Response Smuggling
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tiny-Http