CVE-2023-46848
Squid vulnerability analysis and mitigation

Overview

CVE-2023-46848 affects Squid, a high-performance proxy caching server, in versions 5.0.3 through 5.9 and 6.0 through 6.3. The vulnerability was discovered by Joshua Rogers of Opera Software and was disclosed in October 2023. The issue affects Squid's handling of FTP URLs in HTTP Request messages and FTP Native input validation (Squid Advisory).

Technical details

The vulnerability stems from an Incorrect Conversion between Numeric Types (CWE-681) that affects two specific components: FTP Native Relay input validation and ftp:// URL validation and access control. The vulnerability has received a CVSS v3.1 base score of 7.5 (High) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, though Red Hat has assessed it at 8.6 (High) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H (NVD, Squid Advisory).

Impact

The vulnerability allows remote attackers to perform a Denial of Service (DoS) attack by sending ftp:// URLs in HTTP Request messages or constructing ftp:// URLs from FTP Native input. The impact is particularly significant as this issue is triggered during access control security checks, meaning clients may not have been permitted to use the proxy yet. Additionally, FTP support is always enabled and cannot be disabled completely (Squid Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Squid version 6.4. For earlier versions, patches are available for the stable releases in the Squid patch archives. The FTP Native Relay input validation vector can be partially mitigated by removing all ftp_port directives from squid.conf. However, there are no workarounds to avoid the ftp:// URL validation and access control vector (Squid Advisory).

Additional resources


SourceThis report was generated using AI

Related Squid vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-54574CRITICAL9.8
  • SquidSquid
  • squid:4::libecap-devel
NoYesAug 01, 2025
CVE-2025-62168HIGH7.5
  • SquidSquid
  • squid:4::squid
NoYesOct 17, 2025
CVE-2024-45802HIGH7.5
  • SquidSquid
  • squid:4::squid
NoYesOct 28, 2024
CVE-2025-59362MEDIUM4
  • SquidSquid
  • libecap-devel
NoYesSep 26, 2025
ELSA-2025-20935HIGHN/A
  • SquidSquid
  • squid
NoYesNov 25, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management