Cloudanix VulnDB

CVE-2020-35502

High · 7.5

CVSS

7.5

EPSS

2.4%

Published

Mar 25, 2021

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A bug in the Privoxy web proxy can make it run out of memory and shut down when handling certain web traffic, causing temporary loss of filtering and routing services.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Memory leaks triggered when Privoxy buffers responses and hits configured limits or exhausts available memory, resulting in process termination.

Why it matters to the business

Unexpected crashes of the proxy service can interrupt web filtering, privacy protections, and traffic routing for users or downstream applications until the service is restarted.

How an attack unfolds

An attacker sends a series of HTTP requests crafted to force Privoxy to buffer large responses until the internal buffer limit or system memory is exhausted, causing the daemon to crash and denying service to legitimate users.

How to fix it

Upgrade Privoxy to version 3.0.29 or later; if an upgrade is not immediately possible, restart the service on observed crashes and monitor memory usage to reduce downtime.

How to confirm the fix worked

Confirm the installed Privoxy version is 3.0.29 or newer; review process logs and memory statistics after sending test traffic that previously triggered buffering to verify stability.

Typical attack path

  1. Identify a Privoxy instance reachable over the network
  2. Send repeated or oversized HTTP responses that trigger buffering
  3. Continue until buffer or memory limits are reached
  4. Observe process crash and service unavailability

How to detect it

Search proxy and system logs for repeated Privoxy process terminations or out-of-memory events correlated with high-volume or large response traffic; no specific post-exploitation artifacts are known.

What your security team should do

  • Prioritize upgrade to Privoxy 3.0.29 or newer on all instances
  • Add monitoring for Privoxy process restarts and memory growth
  • Review and tighten response buffering configuration where feasible

The record

A flaw was found in Privoxy in versions before 3.0.29. Memory leaks when a response is buffered and the buffer limit is reached or Privoxy is running out of memory can lead to a system crash.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 privoxy 0 3.0.29-1
Debian:12 privoxy 0 3.0.29-1
Debian:13 privoxy 0 3.0.29-1
Debian:14 privoxy 0 3.0.29-1
Debian:9 privoxy 0 3.0.26-3+deb9u1
Ubuntu:16.04:LTS privoxy 0 3.0.24-1ubuntu0.1
Ubuntu:18.04:LTS privoxy 0 3.0.26-5ubuntu0.1
Ubuntu:20.04:LTS privoxy 0 3.0.28-2ubuntu0.1
Ubuntu:Pro:14.04:LTS privoxy 0 3.0.21-7+deb8u1ubuntu0.1~esm1

Related vulnerabilities