cve.bz

CVE-2023-5824

7.5 highEPSS 3.3%Fix available

High (7.5). EPSS 3.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.3% (unchanged from 3.3% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-755 Improper Handling of Exceptional Conditions
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 8090020231130092412.a75119d5
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 8020020240122164331.4cda2c84
  • Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service: fixed in 8020020240122164331.4cda2c84
  • Red Hat Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions: fixed in 8020020240122164331.4cda2c84
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 8040020240122165847.522a0ee4
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service: fixed in 8040020240122165847.522a0ee4
  • Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions: fixed in 8040020240122165847.522a0ee4
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support: fixed in 8060020231222131040.ad008a3a
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux: fixed package versions per release
  • Vendor advisory: https://github.com/squid-cache/squid/security/advisories/GHSA-543m-w2m2-g255

Ask an AI about this CVE

Show the promptExplain CVE-2023-5824 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-5824?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-5824?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-5824 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 88090020231130092412.a75119d5
Red Hat Enterprise Linux 8.2 Advanced Update Support8020020240122164331.4cda2c84
Red Hat Enterprise Linux 8.2 Telecommunications Update Service8020020240122164331.4cda2c84
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions8020020240122164331.4cda2c84
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020240122165847.522a0ee4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service8040020240122165847.522a0ee4
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions8040020240122165847.522a0ee4
Red Hat Enterprise Linux 8.6 Extended Update Support8060020231222131040.ad008a3a
Red Hat Enterprise Linux 8.8 Extended Update Support8080020231222130009.63b34585
Red Hat Enterprise Linux 97:5.5-6.el9_3.2
Red Hat Enterprise Linux 9.0 Extended Update Support7:5.2-1.el9_0.4
Red Hat Enterprise Linux 9.2 Extended Update Support7:5.5-5.el9_2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11squid4.13-10+deb11u5DLA-4312-1
Debian12squid5.7-2+deb12u3DEBIAN-CVE-2023-5824 DSA-5982-1
Debian13, 14squid6.5-1DEBIAN-CVE-2023-5824
Ubuntu20.04:LTSsquid4.10-1ubuntu1.12UBUNTU-CVE-2023-5824 USN-6728-1 USN-6728-3
Ubuntu22.04:LTSsquid5.7-0ubuntu0.22.04.4UBUNTU-CVE-2023-5824 USN-6728-1
Ubuntu24.04:LTSsquid6.5-1ubuntu1UBUNTU-CVE-2023-5824
UbuntuPro:16.04:LTS, Pro:18.04:LTSsquid3no fix listedUBUNTU-CVE-2023-5824
Red Hatenterprise_linux:8::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.9.0+19703+a1da7223RHSA-2023:7668
Red Hatenterprise_linux:8::appstreamsquid, squid-debuginfo, squid-debugsource7:4.15-7.module+el8.9.0+20806+014d88aa.3RHSA-2023:7668
Red Hatenterprise_linux:9::appstreamsquid, squid-debuginfo, squid-debugsource7:5.5-6.el9_3.2RHSA-2023:7465
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2024:0772
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreamsquid, squid-debuginfo, squid-debugsource7:4.4-8.module+el8.2.0+21173+22259b09.7RHSA-2024:0772
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2024:0773
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamsquid, squid-debuginfo, squid-debugsource7:4.11-4.module+el8.4.0+21174+3894a031.6RHSA-2024:0773
Red Hatrhel_eus:8.6::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2024:0771
Red Hatrhel_eus:8.6::appstreamsquid, squid-debuginfo, squid-debugsource7:4.15-3.module+el8.6.0+21069+a1561e3d.4RHSA-2024:0771
Red Hatrhel_eus:8.8::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2024:0397
Red Hatrhel_eus:8.8::appstreamsquid, squid-debuginfo, squid-debugsource7:4.15-6.module+el8.8.0+21068+0ecbc070.3RHSA-2024:0397
Red Hatrhel_eus:9.0::appstreamsquid, squid-debuginfo, squid-debugsource7:5.2-1.el9_0.4RHSA-2024:1153
1 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 moresquid5.7-150400.3.41.1SUSE-SU-2026:4909-1
openSUSETumbleweedsquid6.4-1.1openSUSE-SU-2024:13398-1
AlmaLinux8libecap, libecap-devel1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2023:7668
AlmaLinux8libecap, libecap-devel1.0.1-2.module_el8.6.0+3048+383bc947ALSA-2023:7668
AlmaLinux8squid7:4.15-7.module_el8.9.0+3696+b881db49.3ALSA-2023:7668
AlmaLinux9squid7:5.5-6.el9_3.2ALSA-2023:7465
Rocky Linux8libecap0:1.0.1-2.module+el8.9.0+1437+df5ea8f0RLSA-2023:7668
Rocky Linux8squid7:4.15-7.module+el8.9.0+1568+6d4fd5d4.1RLSA-2023:7668
Azure Linux2squidno fix listedAZL-31904
Azure Linux3squid6.5-1AZL-63100

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability only affects configurations with the `cache_dir` directive enabled. If this directive is not enabled, the Squid server is not vulnerable and no further mitigation is needed. For more information about the mitigation, see the mitigation section below.

The `cache_dir` directive is disabled by default in Squid shipped in Red Hat Enterprise Linux 6, 7, 8 and 9. Therefore, these Red Hat Enterprise Linux versions are not vulnerable with the default configuration.

Red Hat is not planning to address this issue in Red Hat Enterprise Linux 6 and 7 due to the changes required and the magnitude of the differences between Squid 3 and 4 code bases, backporting the changes to the Squid 3 code base has not been feasible.

We recommend that customers using Squid as a caching proxy on Red Hat Enterprise Linux 6 and 7 to upgrade to Red Hat Enterprise Linux 8 and 9 to use Squid version 4 or version 5, respectively. Alternatively, see the mitigation section below for a way to workaround this vulnerability.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8squid:4-8090020231130092412.a75119d5Fixed 2023-12-06RHSA-2023:7668
Red Hat Enterprise Linux 8.2 Advanced Update Supportsquid:4-8020020240122164331.4cda2c84Fixed 2024-02-12RHSA-2024:0772
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicesquid:4-8020020240122164331.4cda2c84Fixed 2024-02-12RHSA-2024:0772
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionssquid:4-8020020240122164331.4cda2c84Fixed 2024-02-12RHSA-2024:0772
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportsquid:4-8040020240122165847.522a0ee4Fixed 2024-02-12RHSA-2024:0773
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicesquid:4-8040020240122165847.522a0ee4Fixed 2024-02-12RHSA-2024:0773
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionssquid:4-8040020240122165847.522a0ee4Fixed 2024-02-12RHSA-2024:0773
Red Hat Enterprise Linux 8.6 Extended Update Supportsquid:4-8060020231222131040.ad008a3aFixed 2024-02-12RHSA-2024:0771
Red Hat Enterprise Linux 8.8 Extended Update Supportsquid:4-8080020231222130009.63b34585Fixed 2024-01-24RHSA-2024:0397
Red Hat Enterprise Linux 9squid-7:5.5-6.el9_3.2Fixed 2023-11-22RHSA-2023:7465
Red Hat Enterprise Linux 9.0 Extended Update Supportsquid-7:5.2-1.el9_0.4Fixed 2024-03-05RHSA-2024:1153
Red Hat Enterprise Linux 9.2 Extended Update Supportsquid-7:5.5-5.el9_2.3Fixed 2024-01-08RHSA-2024:0072
Red Hat Enterprise Linux 6squidWill not fix
Red Hat Enterprise Linux 7squidWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-5824.

References

Check your stackJSON