Use-after-free in Squid - CVE-2023-49288

 

Use-after-free in Squid - CVE-2023-49288

Published: December 3, 2023 / Updated: December 20, 2023


Vulnerability identifier: #VU83627
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-49288
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a use-after-free error in HTTP collapsed forwarding. A remote attacker can send specially crafted data to the server and crash the proxy server.


Affected software

Squid
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
Amazon Linux AMI
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
Anolis OS
openSUSE Leap
Ubuntu
Fedora
libecap
libecap-devel
squid
squid-debuginfo
squid-debugsource
squid (Ubuntu package)

How to mitigate CVE-2023-49288

Install updates from vendor's website.

Squid - update to 6.0.1
libecap - update to 1.0.1-2.0.1
libecap-devel - update to 1.0.1-2.0.1
squid - update to 4.15-11
squid - update to 5.7-150400.3.41.1
squid-debuginfo - update to 5.7-150400.3.41.1
squid-debugsource - update to 5.7-150400.3.41.1
squid - update to 6.6-1
squid - addressed in versions 6.6-1.fc38, 6.6-1.fc39
squid (Ubuntu package) - addressed in versions 4.10-1ubuntu1.10, 4.10-1ubuntu1.11, 4.10-1ubuntu1.12, 5.7-0ubuntu0.22.04.4, 6.1-2ubuntu1.3

External References

Related Security Bulletins