Bug 2260051 (CVE-2024-23638)

Summary: CVE-2024-23638 squid: vulnerable to a Denial of Service attack against Cache Manager error responses
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Squid, resulting in a potential denial of service attack targeting Cache Manager error responses. This issue enables a trusted client to execute a denial of service by manipulating the generation of error pages for Client Manager reports.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2260053, 2260052, 2260054    
Bug Blocks: 2260056    

Description Rohit Keshri 2024-01-24 09:18:49 UTC
Squid is a caching proxy for the Web. Due to an expired pointer reference bug, Squid prior to version 6.6 is vulnerable to a Denial of Service attack against Cache Manager error responses. This problem allows a trusted client to perform Denial of Service when generating error pages for Client Manager reports. Squid older than 5.0.5 have not been tested and should be assumed to be vulnerable. All Squid-5.x up to and including 5.9 are vulnerable. All Squid-6.x up to and including 6.5 are vulnerable. This bug is fixed by Squid version 6.6. In addition, patches addressing this problem for the stable releases can be found in Squid's patch archives. As a workaround, prevent access to Cache Manager using Squid's main access control: `http_access deny manager`.

http://www.squid-cache.org/Versions/v5/SQUID-2023_11.patch
http://www.squid-cache.org/Versions/v6/SQUID-2023_11.patch
https://github.com/squid-cache/squid/commit/290ae202883ac28a48867079c2fb34c40efd382b
https://github.com/squid-cache/squid/commit/e8118a7381213f5cfcdeb4cec1d2d854bfd261c8
https://github.com/squid-cache/squid/security/advisories/GHSA-j49p-553x-48rx
https://megamansec.github.io/Squid-Security-Audit/stream-assert.html

Comment 1 Rohit Keshri 2024-01-24 09:20:20 UTC
Created clustal-omega tracking bugs for this issue:

Affects: epel-all [bug 2260053]
Affects: fedora-all [bug 2260054]


Created squid tracking bugs for this issue:

Affects: fedora-all [bug 2260052]

Comment 3 errata-xmlrpc 2024-07-25 08:37:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:4861 https://access.redhat.com/errata/RHSA-2024:4861

Comment 5 errata-xmlrpc 2024-11-14 11:45:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:9644 https://access.redhat.com/errata/RHSA-2024:9644