CVE-2022-41318: Integer Overflow

Published Sep 26, 2022
·
Updated

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.

Other sources

Buffer Over Read in SSPI and SMB Authentication https://github.com/squid-cache/squid/security/advisories/GHSA-394c-rr7q-6g78

— Red Hat

Affected Software

8 affected componentsFixes available
Squid-Cache Squid>=2.5<5.7
alpine/squid>=2.5<5.2-r1
5.2-r1
alpine/squid>=2.5<5.2-r1
5.2-r1
debian/squid<5.7-1
5.7-1
debian/squid<5.7-1
5.7-1
debian/squid<5.7-1
5.7-1
redhat/squid<5.7
5.7
debian/squid
5.7-2+deb12u55.7-2+deb12u66.13-2+deb13u36.13-2+deb13u47.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/squid to a version that resolves this vulnerability.

    Fixed in 5.2-r1
  2. Upgrade

    Upgrade debian/squid to a version that resolves this vulnerability.

    Fixed in 5.7-1
  3. Upgrade

    Upgrade redhat/squid to a version that resolves this vulnerability.

    Fixed in 5.7
  4. Upgrade

    Upgrade debian/squid to a version that resolves this vulnerability.

    Fixed in 5.7-2+deb12u5Fixed in 5.7-2+deb12u6Fixed in 6.13-2+deb13u3Fixed in 6.13-2+deb13u4Fixed in 7.8-1
  5. Upgrade

    Upgrade squid to a version that resolves this vulnerability.

    Fixed in 5.7

Event History

Sep 26, 2022
Data Sourced
via Red Hat·09:42 AM
DescriptionSeverityAffected Software
Dec 25, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2022-41318.

2

What is the severity of CVE-2022-41318?

The severity of CVE-2022-41318 is high, with a severity value of 8.6.

3

Which software is affected by CVE-2022-41318?

Squid versions 2.5 through 5.6 are affected by CVE-2022-41318.

4

What is the impact of CVE-2022-41318?

Due to incorrect integer-overflow protection, the SSPI and SMB authentication helpers in Squid are vulnerable to reading unintended memory locations, potentially exposing cleartext credentials.

5

Are there any patches or advisories available for CVE-2022-41318?

Yes, patches and advisories are available. You can find them at the following links: [link1](http://www.squid-cache.org/Versions/v4/changesets/SQUID-2022_2.patch), [link2](http://www.squid-cache.org/Versions/v5/changesets/SQUID-2022_2.patch), [link3](https://github.com/squid-cache/squid/security/advisories/GHSA-394c-rr7q-6g78)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203