Fedora Account System
Red Hat Associate
Red Hat Customer
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. Reference: http://www.squid-cache.org/Versions/v4/changesets/ https://github.com/squid-cache/squid/commits/v4 Upstream patches: squid-4 : http://www.squid-cache.org/Versions/v4/changesets/squid-4-409956536647b3a05ee1e367424a24ae6b8f13fd.patch squid-3.5 : http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-ec0d0f39cf28da14eead0ba5e777e95855bc2f67.patch
Created squid tracking bugs for this issue: Affects: fedora-all [bug 1730536]
External References: http://www.squid-cache.org/Advisories/SQUID-2019_3.txt
Mitigation: Remove 'auth_param digest ...' configuration settings from squid.conf.
upstream fixes : Squid 3.5: http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-ec0d0f39cf28da14eead0ba5e777e95855bc2f67.patch Squid 4: http://www.squid-cache.org/Versions/v4/changesets/squid-4-409956536647b3a05ee1e367424a24ae6b8f13fd.patch
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:2041 https://access.redhat.com/errata/RHSA-2020:2041
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2020:2040 https://access.redhat.com/errata/RHSA-2020:2040
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-12525