CVE-2023-5824
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | 8090020231130092412.a75119d5 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 8020020240122164331.4cda2c84 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.2 Telecommunications Update Service | 8020020240122164331.4cda2c84 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | 8020020240122164331.4cda2c84 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 8040020240122165847.522a0ee4 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 8040020240122165847.522a0ee4 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 8040020240122165847.522a0ee4 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 8060020231222131040.ad008a3a < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 8080020231222130009.63b34585 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 7:5.5-6.el9_3.2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 7:5.2-1.el9_0.4 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 7:5.5-5.el9_2.3 < * | unaffected |
Weaknesses
- CWE-755: Improper Handling of Exceptional Conditions
Workarounds
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.
ADP Enrichment
CVE Program Container
Additional References
- https://access.redhat.com/errata/RHSA-2023:7465
- https://access.redhat.com/errata/RHSA-2023:7668
- https://access.redhat.com/errata/RHSA-2024:0072
- https://access.redhat.com/errata/RHSA-2024:0397
- https://access.redhat.com/errata/RHSA-2024:0771
- https://access.redhat.com/errata/RHSA-2024:0772
- https://access.redhat.com/errata/RHSA-2024:0773
- https://access.redhat.com/errata/RHSA-2024:1153
- https://access.redhat.com/security/cve/CVE-2023-5824
- https://bugzilla.redhat.com/show_bug.cgi?id=2245914
- https://github.com/squid-cache/squid/security/advisories/GHSA-543m-w2m2-g255
- https://security.netapp.com/advisory/ntap-20231130-0003/
- https://lists.debian.org/debian-lts-announce/2025/09/msg00027.html
References
- https://access.redhat.com/errata/RHSA-2023:7465
- https://access.redhat.com/errata/RHSA-2023:7668
- https://access.redhat.com/errata/RHSA-2024:0072
- https://access.redhat.com/errata/RHSA-2024:0397
- https://access.redhat.com/errata/RHSA-2024:0771
- https://access.redhat.com/errata/RHSA-2024:0772
- https://access.redhat.com/errata/RHSA-2024:0773
- https://access.redhat.com/errata/RHSA-2024:1153
- https://access.redhat.com/security/cve/CVE-2023-5824
- https://bugzilla.redhat.com/show_bug.cgi?id=2245914
- https://github.com/squid-cache/squid/security/advisories/GHSA-543m-w2m2-g255
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.