CVE-2023-46847 Squid: denial of service in http digest authentication

High 8.6 Published Updated

Remote attackers can cause a denial of service via buffer overflow in Squid when HTTP Digest Authentication is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-46847?

CVE-2023-46847 is a high-severity denial of service vulnerability in Redhat Enterprise Linux, published on 3 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Squid is vulnerable to a Denial of Service, where a remote attacker can perform buffer overflow attack by writing up to 2 MB of arbitrary data to heap memory when Squid is configured to accept HTTP Digest Authentication.

Weakness: CWE-120

Which versions are affected by CVE-2023-46847?

It affects 10 products.

Linux distribution packages (20)
squid Red Hat:enterprise_linux:7::serverAll versions7:3.5.20-17.el7_9.9
squid-debuginfo Red Hat:enterprise_linux:7::serverAll versions7:3.5.20-17.el7_9.9
squid-migration-script Red Hat:enterprise_linux:7::serverAll versions7:3.5.20-17.el7_9.9
squid-sysvinit Red Hat:enterprise_linux:7::serverAll versions7:3.5.20-17.el7_9.9
squid Red Hat:enterprise_linux:7::workstationAll versions7:3.5.20-17.el7_9.9
squid-debuginfo Red Hat:enterprise_linux:7::workstationAll versions7:3.5.20-17.el7_9.9
squid-migration-script Red Hat:enterprise_linux:7::workstationAll versions7:3.5.20-17.el7_9.9
squid-sysvinit Red Hat:enterprise_linux:7::workstationAll versions7:3.5.20-17.el7_9.9
squid Red Hat:rhel_aus:7.6::serverAll versions7:3.5.20-12.el7_6.2
squid-debuginfo Red Hat:rhel_aus:7.6::serverAll versions7:3.5.20-12.el7_6.2
squid-migration-script Red Hat:rhel_aus:7.6::serverAll versions7:3.5.20-12.el7_6.2
squid-sysvinit Red Hat:rhel_aus:7.6::serverAll versions7:3.5.20-12.el7_6.2
squid Red Hat:rhel_aus:7.7::serverAll versions7:3.5.20-13.el7_7.1
squid-debuginfo Red Hat:rhel_aus:7.7::serverAll versions7:3.5.20-13.el7_7.1
squid-migration-script Red Hat:rhel_aus:7.7::serverAll versions7:3.5.20-13.el7_7.1
squid-sysvinit Red Hat:rhel_aus:7.7::serverAll versions7:3.5.20-13.el7_7.1
squid Red Hat:rhel_els:6All versions7:3.1.23-24.el6_10.1
squid-debuginfo Red Hat:rhel_els:6All versions7:3.1.23-24.el6_10.1
squid34 Red Hat:rhel_els:6All versions7:3.4.14-15.el6_10.1
squid34-debuginfo Red Hat:rhel_els:6All versions7:3.4.14-15.el6_10.1

Products include Redhat Enterprise Linux, Redhat Enterprise Linux Eus, Redhat Enterprise Linux for Arm 64, Redhat Enterprise Linux for Ibm Z Systems, Redhat Enterprise Linux for Power Little Endian, Redhat Enterprise Linux Server and 4 more.

How do I fix CVE-2023-46847?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-46847 being exploited?

There is no known exploitation of CVE-2023-46847 in the wild and no public exploit code.

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2023-46847, AZL-31902, AZL-63103, CLSA-2023-1700160647, CLSA-2023-1700161185, CLSA-2023-1700164396 and 12 more.

Is CVE-2023-46847 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free