CVEfocus › CVE database › CVE-2023-5824

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

CVSS 7.5 HighEPSS 22.0% (higher than 98% of CVEs)Published 2023-11-03Updated 2026-11-04Assigner: redhat

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.

CWE-755

What to do

Likely to be exploited: EPSS gives a 22% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

16Fixed
3Fix pending
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04squidFixed6.5-1ubuntu1UBUNTU-CVE-2023-5824
Ubuntu 22.04squidFixed5.7-0ubuntu0.22.04.4UBUNTU-CVE-2023-5824
Ubuntu 20.04squidFixed4.10-1ubuntu1.12UBUNTU-CVE-2023-5824
Ubuntu 18.04squid3Fix pendingUBUNTU-CVE-2023-5824
Ubuntu 16.04squid3Fix pendingUBUNTU-CVE-2023-5824
Ubuntu 14.04squid3Fix pending
Debian 14squidFixed6.5-1DEBIAN-CVE-2023-5824
Debian 13squidFixed6.5-1DEBIAN-CVE-2023-5824
Debian 12squidFixed5.7-2+deb12u3DEBIAN-CVE-2023-5824
Red Hat Enterprise Linux 9squidFixed7:5.5-6.el9_3.2RHSA-2023:7465
Red Hat Enterprise Linux 8libecapFixed0:1.0.1-2.module+el8.9.0+19703+a1da7223RHSA-2023:7668
Red Hat Enterprise Linux 8libecap-develFixed0:1.0.1-2.module+el8.9.0+19703+a1da7223RHSA-2023:7668
Red Hat Enterprise Linux 8squidFixed7:4.15-7.module+el8.9.0+20806+014d88aa.3RHSA-2023:7668
Red Hat Enterprise Linux 7squidWill not fix
Will not fix
Red Hat Enterprise Linux 7squid-migration-scriptWill not fix
Will not fix
Red Hat Enterprise Linux 7squid-sysvinitWill not fix
Will not fix
Red Hat Enterprise Linux 6squidWill not fix
Will not fix
AlmaLinux 9squidFixed7:5.5-6.el9_3.2ALSA-2023:7465
AlmaLinux 8libecapFixed1.0.1-2.module_el8.6.0+3048+383bc947ALSA-2023:7668
AlmaLinux 8libecap-develFixed1.0.1-2.module_el8.6.0+3048+383bc947ALSA-2023:7668
AlmaLinux 8squidFixed7:4.15-7.module_el8.9.0+3696+b881db49.3ALSA-2023:7668
Rocky Linux 8libecapFixed0:1.0.1-2.module+el8.9.0+1437+df5ea8f0RLSA-2023:7668
Rocky Linux 8squidFixed7:4.15-7.module+el8.9.0+1568+6d4fd5d4.1RLSA-2023:7668

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Disabling the disk caching mechanism will mitigate this vulnerability. To achieve this, remove all the 'cache_dir' directives from the Squid configuration, typically in the /etc/squid/squid.conf file.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.