CVE-2019-12525

CRITICALCVSS 9.8/10EPSS 24.40%

Last modified

CVE-2019-12525 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 24.40% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
24.40%

97.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Squid-CacheSquid>= 3.3.9, <= 3.5.28
Squid-CacheSquid>= 4.0, <= 4.7
DebianDebian Linux8.0
DebianDebian Linux9.0
DebianDebian Linux10.0
OpensuseLeap15.0
OpensuseLeap15.1
FedoraprojectFedora29
CanonicalUbuntu Linux12.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux19.04

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-12525?
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.
How severe is CVE-2019-12525?
CVE-2019-12525 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 24.40% probability of exploitation in the next 30 days.
How do I fix CVE-2019-12525?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-12525?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST