Bug 1730535 (CVE-2019-12525) - CVE-2019-12525 squid: parsing of header Proxy-Authentication leads to memory corruption
Summary: CVE-2019-12525 squid: parsing of header Proxy-Authentication leads to memory ...
Status: NEW
Alias: CVE-2019-12525
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1738582 1738583 1730536
Blocks: 1730537
TreeView+ depends on / blocked
Reported: 2019-07-17 04:44 UTC by Dhananjay Arunesh
Modified: 2019-10-15 08:47 UTC (History)
8 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:44:17 UTC
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.


Upstream patch:

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

Affects: fedora-all [bug 1730536]

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


Comment 4 Cedric Buissart 🐶 2019-08-07 13:53:41 UTC

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

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