Uncontrolled Recursion in Squid - CVE-2023-50269

 

Uncontrolled Recursion in Squid - CVE-2023-50269

Published: December 15, 2023


Vulnerability identifier: #VU84442
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-50269
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to uncontrolled recursion when parsing HTTP requests. A remote client can send a specially crafted HTTP request with the a large X-Forwarded-For header, when the follow_x_forwarded_for feature is configured, and perform a denial of service (DoS) attack.


Affected software

Squid
Amazon Linux AMI
Debian Linux
Oracle Linux
SUSE Linux Enterprise High Performance Computing 15
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 ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Power, little endian
Anolis OS
SUSE Enterprise Storage
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Server Applications Module
openSUSE Leap
Ubuntu
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
squid3 (Ubuntu package)
squid (Ubuntu package)
libecap-devel
libecap
squid-sysvinit
squid-migration-script
squid
squid (Red Hat package)
squid-debugsource
squid-debuginfo
squid (Debian package)
Session Smart Router

How to mitigate CVE-2023-50269

Install updates from vendor's website.

Squid - update to 6.6
squid3 (Ubuntu package) - update to Ubuntu Pro
squid (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 4.10-1ubuntu1.9, 5.7-0ubuntu0.22.04.3, 5.7-1ubuntu3.2, 6.1-2ubuntu1.2
libecap-devel - update to 1.0.1-2.0.1
libecap - update to 1.0.1-2.0.1
squid-sysvinit - update to 3.5.20-17
squid-migration-script - update to 3.5.20-17
squid - addressed in versions 3.5.20-17, 4.15-12
squid (Red Hat package) - addressed in versions 3.5.20-17.el7_9.10, 5.2-1.el9_0.4, 5.5-5.el9_2.4, 5.5-6.el9_3.8
squid - addressed in versions 3.5.20-17.54, 5.8-1
squid-debugsource - update to 4.9-18
squid-debuginfo - update to 4.9-18
squid - update to 4.9-18
squid (Debian package) - addressed in versions 4.13-10+deb11u3, 5.7-2+deb12u1
squid-debuginfo - addressed in versions 4.17-4.41.1, 4.17-150000.5.49.1, 5.7-150400.3.23.1
squid - addressed in versions 4.17-4.41.1, 4.17-150000.5.49.1, 5.7-150400.3.23.1
squid-debugsource - addressed in versions 4.17-4.41.1, 4.17-150000.5.49.1, 5.7-150400.3.23.1
Session Smart Router - addressed in versions 6.2.10, 6.3.7
squid - addressed in versions 6.6-1.fc38, 6.6-1.fc39

External References

Related Security Bulletins