CVE-2019-12525

Critical

Description

An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7. When Squid is configured to use Digest authentication, it parses the header Proxy-Authorization. It searches for certain tokens such as domain, uri, and qop. Squid checks if this token's value starts with a quote and ends with one. If so, it performs a memcpy of its length minus 2. Squid never checks whether the value is just a single quote (which would satisfy its requirements), leading to a memcpy of its length minus 1.

SeverityCritical
CVSS9.8
Exploit probability—
ProductSquid
PublishedJul 11, 2019
First seenJul 11, 2019

How to fix

Affected products

ProductAffected versionsFixed in
squid-cache squid3.3.9 ≤ v ≤ 3.5.28, 4.0 ≤ v ≤ 4.7—
debian debian_linux8.0, 9.0, 10.0—
opensuse leap15.0, 15.1—
fedoraproject fedora29—
canonical ubuntu_linux12.04, 16.04, 18.04, 19.04—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.