CVE-2019-12529

MEDIUMCVSS 5.9/10EPSS 8.09%

Last modified

CVE-2019-12529 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. An issue was discovered in Squid 2.x through 2.7.STABLE9, 3.x through 3.5.28, and 4.x through 4.7. When Squid is configured to use Basic Authentication, the Proxy-Authorization header is parsed via uudecode. EPSS estimates a 8.09% chance of exploitation in the next 30 days.

Description

An issue was discovered in Squid 2.x through 2.7.STABLE9, 3.x through 3.5.28, and 4.x through 4.7. When Squid is configured to use Basic Authentication, the Proxy-Authorization header is parsed via uudecode. uudecode determines how many bytes will be decoded by iterating over the input and checking its table. The length is then used to start decoding the string. There are no checks to ensure that the length it calculates isn't greater than the input buffer. This leads to adjacent memory being decoded as well. An attacker would not be able to retrieve the decoded data unless the Squid maintainer had configured the display of usernames on error pages.

Metrics

CVSS 3.1
5.9/10

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

EPSS Probability
8.09%

94.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
Squid-CacheSquid>= 2.0, < 2.7
Squid-CacheSquid>= 3.0, <= 3.5.28
Squid-CacheSquid>= 4.0, <= 4.7
Squid-CacheSquid2.7Stable1
DebianDebian Linux8.0
DebianDebian Linux9.0
DebianDebian Linux10.0
FedoraprojectFedora29
OpensuseLeap15.0
OpensuseLeap15.1
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-12529?
An issue was discovered in Squid 2.x through 2.7.STABLE9, 3.x through 3.5.28, and 4.x through 4.7. When Squid is configured to use Basic Authentication, the Proxy-Authorization header is parsed via uudecode. uudecode determines how many bytes will be decoded by iterating over the input and checking its table. The length is then used to start decoding the string. There are no checks to ensure that the length it calculates isn't greater than the input buffer. This leads to adjacent memory being decoded as well. An attacker would not be able to retrieve the decoded data unless the Squid maintainer had configured the display of usernames on error pages.
How severe is CVE-2019-12529?
CVE-2019-12529 has a CVSS score of 5.9/10 (MEDIUM severity). The EPSS model estimates a 8.09% probability of exploitation in the next 30 days.
How do I fix CVE-2019-12529?
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-12529?

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

Scan your code now

Source: NVD / NIST