cve.bz

CVE-2024-25617 Collapse of Data into Unsafe Value

7.5 highEPSS 89%Fix available

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

On this page
Squid is an open source caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Due to a Collapse of Data into Unsafe Value bug ,Squid may be vulnerable to a Denial of Service attack against HTTP header parsing. This problem allows a remote client or a remote server to perform Denial of Service when sending oversized headers in HTTP messages. In versions of Squid prior to 6.5 this can be achieved if the request_header_max_size or reply_header_max_size settings are unchanged from the default. In Squid version 6.5 and later, the default setting of these parameters is safe. Squid will emit a critical warning in cache.log if the administrator is setting these parameters to unsafe values. Squid will not at this time prevent these settings from being changed to unsafe values. Users are advised to upgrade to version 6.5. There are no known workarounds for this vulnerability. This issue is also tracked as SQUID-2024:2

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
89% (unchanged from 89% a week ago; 88% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-08-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-182 Collapse of Data into Unsafe Value
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-25617 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-25617?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-25617?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-2024-25617 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 NVD's CPE matches.

ProductAffected
squid-cache:squidfrom 3.0 before 6.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11squid4.13-10+deb11u3DSA-5637-1
Debian12squid5.7-2+deb12u1DEBIAN-CVE-2024-25617 DSA-5637-1
Debian13, 14squid6.5-1DEBIAN-CVE-2024-25617
Ubuntu20.04:LTSsquid4.10-1ubuntu1.10UBUNTU-CVE-2024-25617 USN-6728-1
Ubuntu22.04:LTSsquid5.7-0ubuntu0.22.04.4UBUNTU-CVE-2024-25617 USN-6728-1
Ubuntu24.04:LTSsquid6.5-1ubuntu1UBUNTU-CVE-2024-25617
UbuntuPro:16.04:LTSsquid33.5.12-1ubuntu7.16+esm3UBUNTU-CVE-2024-25617 USN-6857-1
UbuntuPro:18.04:LTSsquid33.5.27-1ubuntu1.14+esm2UBUNTU-CVE-2024-25617 USN-6857-1
Red Hatenterprise_linux:7::server, enterprise_linux:7::workstationsquid, squid-sysvinit, squid-debuginfo and 1 more7:3.5.20-17.el7_9.10RHSA-2024:1787
Red Hatenterprise_linux:8::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.9.0+19703+a1da7223RHSA-2024:1375
Red Hatenterprise_linux:8::appstreamsquid, squid-debuginfo, squid-debugsource7:4.15-7.module+el8.9.0+21530+59b09a5b.10RHSA-2024:1375
Red Hatenterprise_linux:9::appstreamsquid, squid-debuginfo, squid-debugsource7:5.5-6.el9_3.8RHSA-2024:1376
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:2777
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+21527+aa63d5ff.9RHSA-2024:2777
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:1832
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+21523+3cc98f8b.8RHSA-2024:1832
Red Hatrhel_eus:8.6::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2024:1066
Red Hatrhel_eus:8.6::appstreamsquid, squid-debuginfo, squid-debugsource7:4.15-3.module+el8.6.0+21376+425c674a.5RHSA-2024:1066
Red Hatrhel_eus:8.8::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2024:1062
Red Hatrhel_eus:8.8::appstreamsquid, squid-debuginfo, squid-debugsource7:4.15-6.module+el8.8.0+21374+5b4927f1.4RHSA-2024:1062
2 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 moresquid4.17-150000.5.52.1SUSE-SU-2024:1114-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Server Applications 15 SP5 and 4 moresquid5.7-150400.3.26.1SUSE-SU-2024:1113-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5squid4.17-4.44.1SUSE-SU-2024:1115-1
openSUSELeap 15.5squid5.7-150400.3.26.1SUSE-SU-2024:1113-1
openSUSETumbleweedsquid6.8-1.1openSUSE-SU-2024:13757-1
AlmaLinux8libecap, libecap-devel1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2024:1375
AlmaLinux8libecap, libecap-devel1.0.1-2.module_el8.6.0+3048+383bc947ALSA-2024:1375
AlmaLinux8squid7:4.15-7.module_el8.9.0+3749+dbf371ed.10ALSA-2024:1375
AlmaLinux9squid7:5.5-6.el9_3.8ALSA-2024:1376
Rocky Linux8libecap0:1.0.1-2.module+el8.9.0+1437+df5ea8f0RLSA-2024:1375
Azure Linux2squidno fix listedAZL-42503

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 issue can be exploitable when the Squid request_header_max_size and reply_header_max_size configuration options have a big value, specifically, values greater than 64KB. In Squid versions prior to 6.5, the default value of these options are unsafe.

The Squid package as shipped in Red Hat Enterprise Linux 7, 8 and 9 has an unsafe default configuration and is vulnerable to this issue.

Red Hat's mitigation

To mitigate this flaw in Squid versions prior to 6.5, set the request_header_max_size and reply_header_max_size configuration options to 21KB. The following lines should be added to the Squid configuration file:

~~~

request_header_max_size 21 KB

reply_header_max_size 21 KB

~~~

In Squid versions 6.5 and newer, the default values of these options are considered safe and the above configuration can be removed. Also, Squid will emit a warning in the logs if the configured values are unsafe.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7squid-7:3.5.20-17.el7_9.10Fixed 2024-04-11RHSA-2024:1787
Red Hat Enterprise Linux 8squid:4-8090020240314114525.a75119d5Fixed 2024-03-19RHSA-2024:1375
Red Hat Enterprise Linux 8.2 Advanced Update Supportsquid:4-8020020240313150557.4cda2c84Fixed 2024-05-09RHSA-2024:2777
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicesquid:4-8020020240313150557.4cda2c84Fixed 2024-05-09RHSA-2024:2777
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionssquid:4-8020020240313150557.4cda2c84Fixed 2024-05-09RHSA-2024:2777
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportsquid:4-8040020240312224211.522a0ee4Fixed 2024-04-16RHSA-2024:1832
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicesquid:4-8040020240312224211.522a0ee4Fixed 2024-04-16RHSA-2024:1832
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionssquid:4-8040020240312224211.522a0ee4Fixed 2024-04-16RHSA-2024:1832
Red Hat Enterprise Linux 8.6 Extended Update Supportsquid:4-8060020240227214219.ad008a3aFixed 2024-03-04RHSA-2024:1066
Red Hat Enterprise Linux 8.8 Extended Update Supportsquid:4-8080020240227184832.63b34585Fixed 2024-03-01RHSA-2024:1062
Red Hat Enterprise Linux 9squid-7:5.5-6.el9_3.8Fixed 2024-03-19RHSA-2024:1376
Red Hat Enterprise Linux 9.0 Extended Update Supportsquid-7:5.2-1.el9_0.6Fixed 2024-04-16RHSA-2024:1833
Red Hat Enterprise Linux 9.2 Extended Update Supportsquid-7:5.5-5.el9_2.5Fixed 2024-03-06RHSA-2024:1184
Red Hat Enterprise Linux 6squidOut of support scope
Red Hat Enterprise Linux 6squid34Out of support scope

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-2024-25617.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON