cve.bz

CVE-2023-49288 squid-cache squid: Use After Free

7.5 highEPSS 4.8%

High (7.5) in squid-cache squid. EPSS 4.8% estimated probability of exploitation activity in the next 30 days.

On this page
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Affected versions of squid are subject to a a Use-After-Free bug which can lead to a Denial of Service attack via collapsed forwarding. All versions of Squid from 3.5 up to and including 5.9 configured with "collapsed_forwarding on" are vulnerable. Configurations with "collapsed_forwarding off" or without a "collapsed_forwarding" directive are not vulnerable. This bug is fixed by Squid version 6.0.1. Users are advised to upgrade. Users unable to upgrade should remove all collapsed_forwarding lines from their squid.conf.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
4.8% (unchanged from 4.8% a week ago; 4.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
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-2023-49288 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-49288?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-49288?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-2023-49288 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 3.5 through 5.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12squidno fix listedDEBIAN-CVE-2023-49288
Debian13, 14squid6.1-1DEBIAN-CVE-2023-49288
Ubuntu20.04:LTSsquid4.10-1ubuntu1.12UBUNTU-CVE-2023-49288 USN-6728-1 USN-6728-3
Ubuntu22.04:LTSsquid5.7-0ubuntu0.22.04.4UBUNTU-CVE-2023-49288 USN-6728-1
UbuntuPro:16.04:LTS, Pro:18.04:LTSsquid3no fix listedUBUNTU-CVE-2023-49288
Red Hatenterprise_linux:8::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.9.0+19703+a1da7223RHSA-2023:7668
Red Hatenterprise_linux:8::appstreamsquid, squid-debuginfo, squid-debugsource7:4.15-7.module+el8.9.0+20806+014d88aa.3RHSA-2023:7668
Red Hatenterprise_linux:9::appstreamsquid, squid-debuginfo, squid-debugsource7:5.5-6.el9_3.2RHSA-2023:7465
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 moresquid5.7-150400.3.41.1SUSE-SU-2026:4909-1
openSUSETumbleweedsquid6.6-2.1openSUSE-SU-2024:13631-1
AlmaLinux8libecap, libecap-devel1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2023:7668
AlmaLinux8libecap, libecap-devel1.0.1-2.module_el8.6.0+3048+383bc947ALSA-2023:7668
AlmaLinux8squid7:4.15-7.module_el8.9.0+3696+b881db49.3ALSA-2023:7668
Alpinev3.19, v3.20, v3.21 and 3 moresquid6.1-r0ALPINE-CVE-2023-49288
Azure Linux2squidno fix listedAZL-32073

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; the Alpine secdb, CC BY-SA 4.0; 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 · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Collapsed Forwarding features are only used in Squid for accelerator servers and is not enabled by default, lowering the severity of this flaw to Moderate.

Red Hat's mitigation

To mitigate this issue, lines for the 'collapsed_forwarding' feature have to be removed from your squid.conf.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8squid:4-8090020231130092412.a75119d5Fixed 2023-12-06RHSA-2023:7668
Red Hat Enterprise Linux 9squid-7:5.5-6.el9_3.2Fixed 2023-11-22RHSA-2023:7465
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-2023-49288.

References

Check your stackJSON