cve.bz

CVE-2022-41317 squid-cache squid: Incorrect Comparison

6.5 mediumEPSS 1.8%Fix available

Medium (6.5) in squid-cache squid. EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in Squid 4.9 through 4.17 and 5.0.6 through 5.6. Due to inconsistent handling of internal URIs, there can be Exposure of Sensitive Information about clients using the proxy via an HTTPS request to an internal cache manager URL. This is fixed in 5.7.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-697 Incorrect Comparison
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-41317 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-41317?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-41317?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-41317 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
squid-cache:squidfrom 4.9 through 4.17
squid-cache:squidfrom 5.0.6 before 5.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10squid4.6-1+deb10u8DLA-3151-1
Debian11squid4.13-10+deb11u2DSA-5258-1
Debian12, 13, 14squid5.7-1DEBIAN-CVE-2022-41317
Ubuntu18.04:LTSsquid33.5.27-1ubuntu1.14USN-5641-1
Ubuntu20.04:LTSsquid4.10-1ubuntu1.7UBUNTU-CVE-2022-41317 USN-5641-1
Ubuntu22.04:LTSsquid5.2-1ubuntu4.2UBUNTU-CVE-2022-41317 USN-5641-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 17 moresquid4.17-150000.5.35.1SUSE-SU-2022:3596-1
SUSELinux Enterprise Module for Server Applications 15 SP4squid5.7-150400.3.6.1SUSE-SU-2022:3531-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 3 moresquid3.5.21-26.38.1SUSE-SU-2022:3533-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5squid4.17-4.27.1SUSE-SU-2022:3532-1
openSUSELeap 15.3squid4.17-150000.5.35.1SUSE-SU-2022:3596-1
openSUSELeap 15.4squid5.7-150400.3.6.1SUSE-SU-2022:3531-1
openSUSETumbleweedsquid5.7-2.1openSUSE-SU-2024:12364-1
Alpinev3.19, v3.20, v3.21 and 3 moresquid5.7-r0ALPINE-CVE-2022-41317

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Adding the following line to the squid.conf file is a workaround:

acl manager url_regex +i ^[^:]+://[^/]+/squid-internal-mgr/

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6squidNot affected
Red Hat Enterprise Linux 6squid34Not affected
Red Hat Enterprise Linux 7squidNot affected
Red Hat Enterprise Linux 8squid:4/squidWill not fix
Red Hat Enterprise Linux 9squidWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-41317.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-697 (29).

References

Check your stackJSON