CVE-2022-41318 json
A buffer over-read was discovered in libntlmauth in Squid 2.5 through 5.6.
published 2022-12-25 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-44526
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.1%
- EPSS 3.1% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
A buffer over-read was discovered in libntlmauth in Squid 2.5 through 5.6. Due to incorrect integer-overflow protection, the SSPI and SMB authentication helpers are vulnerable to reading unintended memory locations. In some configurations, cleartext credentials from these locations are sent to a client. This is fixed in 5.7.
Patch / fix
- squid-cache squid 5.7
- squid Debian 14, Debian 13, Debian 12 5.7-1
debian advisories DEBIAN-CVE-2022-41318
- squid Ubuntu 20.04 LTS 4.10-1ubuntu1.7
- squid Ubuntu 22.04 LTS 5.2-1ubuntu4.2
- squid3 Ubuntu 18.04 LTS 3.5.27-1ubuntu1.14
- squid3 Ubuntu Pro 16.04 LTS 3.5.12-1ubuntu7.16+esm3
ubuntu advisories UBUNTU-CVE-2022-41318
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- squid RHEL 9 7:5.2-1.el9_0.2
- squid RHEL 7 7:3.5.20-17.el7_9.8
- squid-sysvinit RHEL 7 7:3.5.20-17.el7_9.8
- squid-migration-script RHEL 7 7:3.5.20-17.el7_9.8
- libecap RHEL 8, RHEL 8.4 EUS, RHEL 8.2 EUS +1 more 1.0.1-2.module+el8.1.0+4044+36416a77
- squid RHEL 8 7:4.15-3.module+el8.6.0+16749+7b6feaf0.2
- squid RHEL 8.2 EUS 7:4.4-8.module+el8.2.0+16757+26d6b59c.5
- squid RHEL 8.4 EUS 7:4.11-4.module+el8.4.0+16750+7556a224.4
red hat advisories RHSA-2022:6839RHSA-2022:6815RHSA-2022:6777RHSA-2022:6776RHSA-2022:6775RHSA-2022:6774
- squid SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +18 more 4.17-150000.5.35.1
- squid SLES for SAP 12 SP4, SLES 12 SP4-LTSS, SLES 12 SP3-BCL +3 more 3.5.21-26.38.1
- squid SLES for SAP 12 SP5, SLES 12 SP5 4.17-4.27.1
- squid SLE Module for Server Applications 15 SP4, openSUSE Leap 15.4 5.7-150400.3.6.1
suse advisories SUSE-SU-2022:3596-1SUSE-SU-2022:3533-1SUSE-SU-2022:3532-1SUSE-SU-2022:3531-1
- squid openSUSE Tumbleweed 5.7-2.1
opensuse advisories openSUSE-SU-2024:12364-1
- squid AlmaLinux 9 7:5.2-1.el9_0.2
- squid AlmaLinux 8 7:4.15-3.module_el8.6.0+3275+7a670b72.2
- libecap AlmaLinux 8 1.0.1-2.module_el8.6.0+2741+01592ae8
- libecap AlmaLinux 8 1.0.1-2.module_el8.6.0+3048+383bc947
almalinux advisories ALSA-2022:6839ALSA-2022:6775
- squid Rocky Linux 9 7:5.2-1.el9_0.2
- squid Rocky Linux 8 7:4.15-3.module+el8.6.0+1044+67ab5d0a.2
- libecap Rocky Linux 8 1.0.1-2.module+el8.4.0+404+316a0dc5
rocky linux advisories RLSA-2022:6839RLSA-2022:6775
- squid Alpine 3.16, Alpine 3.15 5.2-r1
alpine advisories ALPINE-CVE-2022-41318
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- squid Arch Linux 5.7-1
arch linux advisories AVG-2816
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-41318 updated cvss 8.6
squid: buffer-over-read in SSPI and SMB authentication
-
Red Hat Enterprise Linux 6 squid, squid34affected: workaround, no fix planned “Disable use of the vulnerable authentication scheme.”
-
Red Hat Enterprise Linux AppStream (v. 8) libecap 1.0.1-2.module+el8.1.0+4044+36416a77, squid 4.15-3.module+el8.6.0+16749+7b6feaf0.2fixed: vendor fix “Disable use of the vulnerable authentication scheme.” RHSA-2022:6775
-
Red Hat Enterprise Linux AppStream (v. 9) squid 5.2-1.el9_0.2fixed: vendor fix “Disable use of the vulnerable authentication scheme.” RHSA-2022:6839
-
Red Hat Enterprise Linux AppStream E4S (v. 8.1) squid 4.4-8.module+el8.1.0+16758+65e5269e.5, libecap 1.0.1-2.module+el8.1.0+4044+36416a77fixed: vendor fix “Disable use of the vulnerable authentication scheme.” RHSA-2022:6774
-
Red Hat Enterprise Linux AppStream EUS (v. 8.2) squid 4.4-8.module+el8.2.0+16757+26d6b59c.5, libecap 1.0.1-2.module+el8.1.0+4044+36416a77fixed: vendor fix “Disable use of the vulnerable authentication scheme.” RHSA-2022:6777
-
Red Hat Enterprise Linux AppStream EUS (v.8.4) libecap 1.0.1-2.module+el8.1.0+4044+36416a77, squid 4.11-4.module+el8.4.0+16750+7556a224.4fixed: vendor fix “Disable use of the vulnerable authentication scheme.” RHSA-2022:6776
-
Red Hat Enterprise Linux Server (v. 7) squid 3.5.20-17.el7_9.8, squid-migration-script 3.5.20-17.el7_9.8 Red Hat Enterprise Linux Server Optional (v. 7) squid-sysvinit 3.5.20-17.el7_9.8 Red Hat Enterprise Linux Workstation (v. 7) squid 3.5.20-17.el7_9.8, squid-migration-script 3.5.20-17.el7_9.8 Red Hat Enterprise Linux Workstation Optional (v. 7) squid-sysvinit 3.5.20-17.el7_9.8fixed: vendor fix “Disable use of the vulnerable authentication scheme.” RHSA-2022:6815
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
3.08% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/squid-cache/squid/security/advisories/GHSA-394c-rr7q-6g78
patch, third-party-advisory
-
squid-cache.org
/Versions/v4/changesets/SQUID-2022_2.patch
patch, third-party-advisory
-
squid-cache.org
/Versions/v5/changesets/SQUID-2022_2.patch
patch, third-party-advisory
-
openwall.com
/lists/oss-security/2022/09/23/2
mailing-list, patch, third-party-advisory
Sources
- CVE List CVE-2022-41318
- NVD CVE-2022-41318
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.