CVE-2023-5824 Squid: dos against http and https

High 7.5 Published Updated

An attacker can cause a denial of service in Squid by triggering a crash or stall when large cached HTTP headers are retrieved from disk.

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-5824?

CVE-2023-5824 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

A flaw was found in Squid. The limits applied for validation of HTTP response headers are applied before caching. However, Squid may grow a cached HTTP response header beyond the configured maximum size, causing a stall or crash of the worker process when a large header is retrieved from the disk cache, resulting in a denial of service.

Weakness: CWE-755

Which versions are affected by CVE-2023-5824?

It affects 2 products.

Linux distribution packages (8)
libecap AlmaLinux:8All versions1.0.1-2.module_el8.6.0+2741+01592ae8
libecap AlmaLinux:8All versions1.0.1-2.module_el8.6.0+3048+383bc947
libecap-devel AlmaLinux:8All versions1.0.1-2.module_el8.6.0+2741+01592ae8
libecap-devel AlmaLinux:8All versions1.0.1-2.module_el8.6.0+3048+383bc947
squid AlmaLinux:8All versions7:4.15-7.module_el8.9.0+3696+b881db49.3
squid AlmaLinux:9All versions7:5.5-6.el9_3.2
libecap Rocky Linux:8All versions0:1.0.1-2.module+el8.9.0+1437+df5ea8f0
squid Rocky Linux:8All versions7:4.15-7.module+el8.9.0+1568+6d4fd5d4.1

Products include Redhat Enterprise Linux, Squid-Cache Squid.

How do I fix CVE-2023-5824?

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-5824 being exploited?

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

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as ALSA-2023:7465, ALSA-2023:7668, AZL-31904, AZL-63100, CLSA-2024-1730369054, CLSA-2024-1730480855 and 9 more.

Is CVE-2023-5824 in your software?

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

Check your SBOMs for free