Name
tinyproxy
Version
1.11.0
Type
library
Description
Lightweight http(s) proxy daemon
Licenses
GPL-2.0-only
PURL
-
CPE
cpe:2.3:*:tinyproxy_project:tinyproxy:1.11.0:*:*:*:*:*:*:*
Other Versions#
Patches#
#
Title
Author
Resolve
1
reqs: fix integer overflow in port number processing
rofl0r <rofl0r@users.noreply.github.com>
CVE-2025-63938
2
prevent junk from showing up in error page in invalid
rofl0r <rofl0r@users.noreply.github.com>
CVE-2022-40468
3
Patch #3
Benjamin Gaignard <benjamin.gaignard@linaro.org>
Vulnerabilities#
Name
Analysis
Description
Exploitable
Tinyproxy through 1.11.3 is vulnerable to HTTP request parsing desynchronization due to a case-sensitive comparison of the Transfer-Encoding header in src/reqs.c. The is_chunked_transfer() function uses strcmp() to compare the header value against "chunked", even though RFC 7230 specifies that transfer-coding names are case-insensitive. By sending a request with Transfer-Encoding: Chunked, an unauthenticated remote attacker can cause Tinyproxy to misinterpret the request as having no body. In this state, Tinyproxy sets content_length.client to -1, skips pull_client_data_chunked(), forwards request headers upstream, and transitions into relay_connection() raw TCP forwarding while unread body data remains buffered. This leads to inconsistent request state between Tinyproxy and backend servers. RFC-compliant backends (e.g., Node.js, Nginx) will continue waiting for chunked body data, causing connections to hang indefinitely. This behavior enables application-level denial of service through backend worker exhaustion. Additionally, in deployments where Tinyproxy is used for request-body inspection, filtering, or security enforcement, the unread body may be forwarded without proper inspection, resulting in potential security control bypass.
Patched
Tinyproxy through 1.11.2 contains an integer overflow vulnerability in the strip_return_port() function within src/reqs.c.
Patched
Potential leak of left-over heap data if custom error page templates containing special non-standard variables are used. Tinyproxy commit 84f203f and earlier use uninitialized buffers in process_request() function.