CVEfocus › CVE database › CVE-2023-46728

CVE-2023-46728SQUID-2021:8 Denial of Service in Gopher gateway

CVSS 7.5 HighEPSS 3.8% (higher than 90% of CVEs)Published 2023-11-06Updated 2025-11-03Assigner: GitHub_M

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.

CWE-476

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

18Fixed
3Fix pending
2Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04squidFixed5.7-0ubuntu0.22.04.2UBUNTU-CVE-2023-46728
Ubuntu 20.04squidFixed4.10-1ubuntu1.8UBUNTU-CVE-2023-46728
Ubuntu 18.04squid3Fix pending3.5.27-1ubuntu1.14+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-46728
Ubuntu 16.04squid3Fix pending3.5.12-1ubuntu7.16+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-46728
Ubuntu 14.04squid3Fix pending
Debian 14squidFixed6.1-1DEBIAN-CVE-2023-46728
Debian 13squidFixed6.1-1DEBIAN-CVE-2023-46728
Debian 12squidFixed5.7-2+deb12u5DEBIAN-CVE-2023-46728
Red Hat Enterprise Linux 9squidFixed7:5.5-6.el9_3.5RHSA-2024:0071
Red Hat Enterprise Linux 8libecapFixed0:1.0.1-2.module+el8.9.0+19703+a1da7223RHSA-2024:0046
Red Hat Enterprise Linux 8libecap-develFixed0:1.0.1-2.module+el8.9.0+19703+a1da7223RHSA-2024:0046
Red Hat Enterprise Linux 8squidFixed7:4.15-7.module+el8.9.0+20975+25f17541.5RHSA-2024:0046
Red Hat Enterprise Linux 7squidFixed7:3.5.20-17.el7_9.10RHSA-2024:1787
Red Hat Enterprise Linux 7squid-migration-scriptFixed7:3.5.20-17.el7_9.10RHSA-2024:1787
Red Hat Enterprise Linux 7squid-sysvinitFixed7:3.5.20-17.el7_9.10RHSA-2024:1787
Red Hat Enterprise Linux 6squidWill not fix
Out of support scope
Red Hat Enterprise Linux 6squid34Will not fix
Out of support scope
AlmaLinux 9squidFixed7:5.5-6.el9_3.5ALSA-2024:0071
AlmaLinux 8libecapFixed1.0.1-2.module_el8.6.0+3048+383bc947ALSA-2024:0046
AlmaLinux 8libecap-develFixed1.0.1-2.module_el8.6.0+3048+383bc947ALSA-2024:0046
AlmaLinux 8squidFixed7:4.15-7.module_el8.9.0+3708+6acaac63.5ALSA-2024:0046
Rocky Linux 8libecapFixed0:1.0.1-2.module+el8.9.0+1437+df5ea8f0RLSA-2024:0046
Rocky Linux 8squidFixed7:4.15-7.module+el8.9.0+1568+6d4fd5d4.1RLSA-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.

References

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.