CVE-2023-49606 Use after free in Tinyproxy
A use-after-free in Tinyproxy allows remote attackers to execute arbitrary code via a crafted HTTP header without authentication.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-49606?
CVE-2023-49606 is a critical use after free vulnerability in Tinyproxy, published on 1 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A use-after-free vulnerability exists in the HTTP Connection Headers parsing in Tinyproxy 1.11.1 and Tinyproxy 1.10.0. A specially crafted HTTP header can trigger reuse of previously freed memory, which leads to memory corruption and could lead to remote code execution. An attacker needs to make an unauthenticated HTTP request to trigger this vulnerability.
Weakness: CWE-416
Which versions are affected by CVE-2023-49606?
It affects 1 product.
Linux distribution packages (1)
tinyproxy openSUSE:Tumbleweed | All versions | 1.11.2-1.1 |
Products include Tinyproxy Project Tinyproxy.
How do I fix CVE-2023-49606?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-49606 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49606 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Tinyproxy
Sources
Also known as ALPINE-CVE-2023-49606, DEBIAN-CVE-2023-49606, DSA-5705-1, GHSA-w78j-vw2g-233v, UBUNTU-CVE-2023-49606, USN-7190-1 and 1 more.