CVE-2023-46728
squid: NULL pointer dereference in the gopher protocol code
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 26, 2023
Updated · November 21, 2025
Description
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. This issue may lead to a remote denial of service via gopher URL requests.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, create an access list configuration to reject all gopher URL requests:
Set ACL directives in your squid.conf file (or equivalent) as follows: acl gopher proto gopher http_access deny gopher
Important: This sequence must be placed above any lines starting with "http_access allow" in your configuration. Observation: Some loss of performance may occur with this configuration.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-476 · NULL Pointer Dereference