CVE-2023-46728SQUID-2021:8 Denial of Service in Gopher gateway
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Due to a NULL pointer dereference bug Squid is vulnerable to a Denial of Service attack against Squid's Gopher gateway. The gopher protocol is always available and enabled in Squid prior to Squid 6.0.1. Responses triggering this bug are possible to be received from any gopher server, even those without malicious intent. Gopher support has been removed in Squid version 6.0.1. Users are advised to upgrade. Users unable to upgrade should reject all gopher URL requests.
What to do
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 22.04 | squid | Fixed | 5.7-0ubuntu0.22.04.2 | UBUNTU-CVE-2023-46728 |
| Ubuntu 20.04 | squid | Fixed | 4.10-1ubuntu1.8 | UBUNTU-CVE-2023-46728 |
| Ubuntu 18.04 | squid3 | Fix pending | 3.5.27-1ubuntu1.14+esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-46728 |
| Ubuntu 16.04 | squid3 | Fix pending | 3.5.12-1ubuntu7.16+esm2 (Ubuntu Pro) | UBUNTU-CVE-2023-46728 |
| Ubuntu 14.04 | squid3 | Fix pending | ||
| Debian 14 | squid | Fixed | 6.1-1 | DEBIAN-CVE-2023-46728 |
| Debian 13 | squid | Fixed | 6.1-1 | DEBIAN-CVE-2023-46728 |
| Debian 12 | squid | Fixed | 5.7-2+deb12u5 | DEBIAN-CVE-2023-46728 |
| Red Hat Enterprise Linux 9 | squid | Fixed | 7:5.5-6.el9_3.5 | RHSA-2024:0071 |
| Red Hat Enterprise Linux 8 | libecap | Fixed | 0:1.0.1-2.module+el8.9.0+19703+a1da7223 | RHSA-2024:0046 |
| Red Hat Enterprise Linux 8 | libecap-devel | Fixed | 0:1.0.1-2.module+el8.9.0+19703+a1da7223 | RHSA-2024:0046 |
| Red Hat Enterprise Linux 8 | squid | Fixed | 7:4.15-7.module+el8.9.0+20975+25f17541.5 | RHSA-2024:0046 |
| 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.5 | ALSA-2024:0071 |
| AlmaLinux 8 | libecap | Fixed | 1.0.1-2.module_el8.6.0+3048+383bc947 | ALSA-2024:0046 |
| AlmaLinux 8 | libecap-devel | Fixed | 1.0.1-2.module_el8.6.0+3048+383bc947 | ALSA-2024:0046 |
| AlmaLinux 8 | squid | Fixed | 7:4.15-7.module_el8.9.0+3708+6acaac63.5 | ALSA-2024:0046 |
| Rocky Linux 8 | libecap | Fixed | 0:1.0.1-2.module+el8.9.0+1437+df5ea8f0 | RLSA-2024:0046 |
| Rocky Linux 8 | squid | Fixed | 7:4.15-7.module+el8.9.0+1568+6d4fd5d4.1 | RLSA-2024:0046 |
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.0.1
References
- https://github.com/squid-cache/squid/security/advisories/GHSA-cg5h-v6vc-w33f
- https://github.com/squid-cache/squid/commit/6ea12e8fb590ac6959e9356a81aa3370576568c3
- https://security.netapp.com/advisory/ntap-20231214-0006/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MEV66D3PAAY6K7TWDT3WZBLCPLASFJDC/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A5QASTMCUSUEW3UOMKHZJB3FTONWSRXS/
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.