Ubuntu patches Privoxy proxy for memory leak DoS and XSS vulnerabilities
Two CVEs in the Privoxy HTTP proxy allow resource exhaustion denial-of-service and reflected cross-site scripting via unencoded error page template names.
Summary
Ubuntu has released security updates for Privoxy, the privacy-enhancing HTTP proxy, addressing two vulnerabilities tracked as CVE-2021-44540 and CVE-2021-44543. The first flaw involves incorrect memory allocation that causes a memory leak, which an attacker can exploit to exhaust system resources and trigger denial-of-service conditions. The second flaw stems from improper encoding of template names in Privoxy's error pages, enabling remote cross-site scripting attacks.
The updates are available for Ubuntu 16.04 LTS (xenial) and 14.04 LTS (trusty) through Ubuntu Pro's Legacy Support add-on, delivering patched package versions 3.0.24-1ubuntu0.1+esm1 and 3.0.21-7+deb8u1ubuntu0.1~esm2 respectively. These releases extend security maintenance for long-term deployments that remain on end-of-life Ubuntu releases.
Vulnerability details and affected versions
- Memory leak (CVE-2021-44540): Joshua Rogers identified that Privoxy mishandles memory allocation during operation, causing allocated memory to accumulate without release; an attacker can trigger this condition repeatedly to inflate the process's resident memory until the host exhausts RAM or the OOM killer terminates Privoxy.
- Cross-site scripting (CVE-2021-44543): Artem Ivanov found that template names rendered in Privoxy error pages are not HTML-encoded, so a remote attacker who influences or injects a template name can execute arbitrary JavaScript in the context of a user's browser session.
- Affected releases: Ubuntu 16.04 LTS receives privoxy 3.0.24-1ubuntu0.1+esm1 and Ubuntu 14.04 LTS receives 3.0.21-7+deb8u1ubuntu0.1~esm2, both distributed exclusively through Ubuntu Pro Legacy Support.
- Attack vectors: The memory leak requires sustained requests to the proxy, while the XSS vector depends on user interaction with a crafted error page response.
Why it matters
Organizations running Privoxy on legacy Ubuntu LTS systems for content filtering, ad blocking, or outbound traffic privacy remain exposed unless they subscribe to Ubuntu Pro's paid Legacy Support tier, highlighting how extended maintenance contracts have become critical infrastructure for security-sensitive proxy deployments. System administrators should verify their Privoxy instances are updated and consider migrating from 14.04/16.04 to supported releases where patches flow through standard repositories without commercial add-ons.
Original reference: ubuntu.com →