Bug 1730528 (CVE-2019-12529) - CVE-2019-12529 squid: OOB read in Proxy-Authorization header causes DoS
Summary: CVE-2019-12529 squid: OOB read in Proxy-Authorization header causes DoS
Status: NEW
Alias: CVE-2019-12529
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1730529 1738580 1738581
Blocks: 1730537
TreeView+ depends on / blocked
Reported: 2019-07-17 04:14 UTC by Dhananjay Arunesh
Modified: 2019-09-29 15:16 UTC (History)
7 users (show)

Fixed In Version: squid 4.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-07-17 04:14:59 UTC
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.


Upstream commit:

Comment 1 Dhananjay Arunesh 2019-07-17 04:15:59 UTC
Created squid tracking bugs for this issue:

Affects: fedora-all [bug 1730529]

Comment 2 Cedric Buissart 🐶 2019-08-07 10:08:32 UTC
External References:


Comment 3 Cedric Buissart 🐶 2019-08-07 13:48:56 UTC

Remove 'auth_param basic ...' configuration settings from squid.conf

Note You need to log in before you can comment on or make changes to this bug.