CVE-2024-25617Denial of Service in HTTP Header parser in squid proxy
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
What to do
Likely to be exploited: EPSS gives a 14% 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | squid | Fixed | 6.5-1ubuntu1 | UBUNTU-CVE-2024-25617 |
| Ubuntu 22.04 | squid | Fixed | 5.7-0ubuntu0.22.04.4 | UBUNTU-CVE-2024-25617 |
| Ubuntu 20.04 | squid | Fixed | 4.10-1ubuntu1.10 | UBUNTU-CVE-2024-25617 |
| Ubuntu 18.04 | squid3 | Fix pending | 3.5.27-1ubuntu1.14+esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-25617 |
| Ubuntu 16.04 | squid3 | Fix pending | 3.5.12-1ubuntu7.16+esm3 (Ubuntu Pro) | UBUNTU-CVE-2024-25617 |
| Ubuntu 14.04 | squid3 | Fix pending | ||
| Debian 14 | squid | Fixed | 6.5-1 | DEBIAN-CVE-2024-25617 |
| Debian 13 | squid | Fixed | 6.5-1 | DEBIAN-CVE-2024-25617 |
| Debian 12 | squid | Fixed | 5.7-2+deb12u1 | DEBIAN-CVE-2024-25617 |
| Red Hat Enterprise Linux 9 | squid | Fixed | 7:5.5-6.el9_3.8 | RHSA-2024:1376 |
| Red Hat Enterprise Linux 8 | libecap | Fixed | 0:1.0.1-2.module+el8.9.0+19703+a1da7223 | RHSA-2024:1375 |
| Red Hat Enterprise Linux 8 | libecap-devel | Fixed | 0:1.0.1-2.module+el8.9.0+19703+a1da7223 | RHSA-2024:1375 |
| Red Hat Enterprise Linux 8 | squid | Fixed | 7:4.15-7.module+el8.9.0+21530+59b09a5b.10 | RHSA-2024:1375 |
| Red Hat Enterprise Linux 7 | squid | Fixed | 7:3.5.20-17.el7_9.10 | RHSA-2024:1787 |
| Red Hat Enterprise Linux 7 | squid-migration-script | Fixed | 7:3.5.20-17.el7_9.10 | RHSA-2024:1787 |
| Red Hat Enterprise Linux 7 | squid-sysvinit | Fixed | 7:3.5.20-17.el7_9.10 | RHSA-2024:1787 |
| Red Hat Enterprise Linux 6 | squid | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | squid34 | Will not fix Out of support scope | ||
| AlmaLinux 9 | squid | Fixed | 7:5.5-6.el9_3.8 | ALSA-2024:1376 |
| AlmaLinux 8 | libecap | Fixed | 1.0.1-2.module_el8.6.0+3048+383bc947 | ALSA-2024:1375 |
| AlmaLinux 8 | libecap-devel | Fixed | 1.0.1-2.module_el8.6.0+3048+383bc947 | ALSA-2024:1375 |
| AlmaLinux 8 | squid | Fixed | 7:4.15-7.module_el8.9.0+3749+dbf371ed.10 | ALSA-2024:1375 |
| Rocky Linux 8 | libecap | Fixed | 0:1.0.1-2.module+el8.9.0+1437+df5ea8f0 | RLSA-2024:1375 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- squid-cache squid: affected: < 6.5
References
- https://github.com/squid-cache/squid/security/advisories/GHSA-h5x6-w8mv-xfpr
- https://github.com/squid-cache/squid/commit/72a3bbd5e431597c3fdb56d752bc56b010ba3817
- https://security.netapp.com/advisory/ntap-20240322-0006/
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.