cve.bz

CVE-2024-23638 squid-cache squid: Expired Pointer Dereference

6.5 mediumExploit referenceEPSS 60%Fix available

Medium (6.5) in squid-cache squid. EPSS 60% estimated probability of exploitation activity in the next 30 days.

On this page
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`.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
60% (unchanged from 60% a week ago; 60% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-01-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-672 Operation on a Resource after Expiration or Release
CWE-825 Expired Pointer Dereference
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-23638 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-23638?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-23638?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-23638 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
squid-cache:squidfrom 5.0 through 5.9
squid-cache:squidfrom 6.0 before 6.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11squid4.13-10+deb11u3DSA-5637-1
Debian12squid5.7-2+deb12u1DEBIAN-CVE-2024-23638 DSA-5637-1
Debian13, 14squid6.6-1DEBIAN-CVE-2024-23638
Ubuntu20.04:LTSsquid4.10-1ubuntu1.10UBUNTU-CVE-2024-23638 USN-6728-1
Ubuntu22.04:LTSsquid5.7-0ubuntu0.22.04.4UBUNTU-CVE-2024-23638 USN-6728-1
UbuntuPro:16.04:LTS, Pro:18.04:LTSsquid3no fix listedUBUNTU-CVE-2024-23638
Red Hatenterprise_linux:8::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.9.0+19703+a1da7223RHSA-2024:9644
Red Hatenterprise_linux:8::appstreamsquid, squid-debuginfo, squid-debugsource7:4.15-10.module+el8.10.0+22489+b920747d.3RHSA-2024:9644
Red Hatenterprise_linux:9::appstreamsquid, squid-debuginfo, squid-debugsource7:5.5-13.el9_4RHSA-2024:4861
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 moresquid4.17-150000.5.49.1SUSE-SU-2024:0298-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Server Applications 15 SP5 and 4 moresquid5.7-150400.3.23.1SUSE-SU-2024:0455-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5squid4.17-4.41.1SUSE-SU-2024:0296-1
openSUSELeap 15.5squid5.7-150400.3.23.1SUSE-SU-2024:0455-1
openSUSETumbleweedsquid6.6-2.1openSUSE-SU-2024:13631-1
AlmaLinux8libecap, libecap-devel1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2024:9644
AlmaLinux8libecap, libecap-devel1.0.1-2.module_el8.6.0+3048+383bc947ALSA-2024:9644
AlmaLinux8squid7:4.15-10.module_el8.10.0+3916+ed00a4a0.3ALSA-2024:9644
AlmaLinux9squid7:5.5-13.el9_4ALSA-2024:4861
Rocky Linux8libecap0:1.0.1-2.module+el8.9.0+1437+df5ea8f0RLSA-2024:9644
Rocky Linux8squid7:4.15-10.module+el8.10.0+1758+80ba9f4bRLSA-2024:9644
Rocky Linux9squid7:5.5-13.el9_4RLSA-2024:4861
Azure Linux2squidno fix listedAZL-34001

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The identified vulnerability in Squid, leading to a Denial of Service attack against Cache Manager error responses, is considered a moderate issue. While it requires a trusted client for exploitation, the potential impact lies in the ability to disrupt normal functioning by manipulating error pages during the generation of Client Manager reports.

Red Hat's mitigation

Restrict entry to Cache Manager through Squid's primary access control:

http_access deny manager

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8squid:4-8100020241113143337.489197e6Fixed 2024-11-14RHSA-2024:9644
Red Hat Enterprise Linux 9squid-7:5.5-13.el9_4Fixed 2024-07-25RHSA-2024:4861
Red Hat Enterprise Linux 6squidOut of support scope
Red Hat Enterprise Linux 6squid34Out of support scope
Red Hat Enterprise Linux 7squidOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-23638.

References

Check your stackJSON