Buffer overflow in Squid - CVE-2023-46724

 

Buffer overflow in Squid - CVE-2023-46724

Published: September 6, 2023 / Updated: November 21, 2023


Vulnerability identifier: #VU80476
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-46724
CWE-ID: CWE-120
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 boundary error when handling gopher responses. A remote attacker can trick the victim into connecting to a malicious gopher server, trigger a buffer overflow and crash the proxy server.


Affected software

Squid
Amazon Linux AMI
Debian Linux
Red Hat Enterprise Linux Server
Anolis OS
Red Hat Enterprise Linux for Power, little endian
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 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
openEuler
Ubuntu
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libecap-devel
libecap
squid-sysvinit
squid-migration-script
squid
squid (Red Hat package)
squid-debuginfo
squid-debugsource
squid (Ubuntu package)
squid (Debian package)
squid-doc

How to mitigate CVE-2023-46724

Install updates from vendor's website.

Squid - update to 6.0.1
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-11, 6.5-1
squid (Red Hat package) - addressed in versions 3.5.20-17.el7_9.10, 5.2-1.el9_0.4
squid - addressed in versions 3.5.20-17.52, 5.8-1
squid - update to 4.9-16
squid-debuginfo - update to 4.9-16
squid-debugsource - update to 4.9-16
squid (Ubuntu package) - addressed in versions 4.10-1ubuntu1.8, 5.7-0ubuntu0.22.04.2, 5.7-1ubuntu3.1, 6.1-2ubuntu1.1
squid (Debian package) - addressed in versions 4.13-10+deb11u3, 5.7-2+deb12u1
squid-doc - update to 6.5-1
squid - addressed in versions 6.6-1.fc38, 6.6-1.fc39

External References

Related Security Bulletins