Skip to content
OpenAdvisories
Critical ALAS2-2023-2318 7 CVEs

Critical: squid security update (Amazon Linux 2)

Published Oct 25, 2023 · Updated Nov 6, 2023

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2023-46847: Due to a buffer overflow bug Squid is vulnerable to a Denial of Service attack against HTTP Digest Authentication CVE-2021-28116: Squid through 4.14 and 5.x through 5.0.5, in some configurations, allows information disclosure because of an out-of-bounds read in WCCP protocol data. This can be leveraged as part of a chain for remote code execution as nobody. CVE-2019-18860: Squid before 4.9, when certain web browsers are used, mishandles HTML in the host (aka hostname) parameter to cachemgr.cgi. CVE-2019-18678: An issue was discovered in Squid 3.x and 4.x through 4.8. It allows attackers to smuggle HTTP requests through frontend software to a Squid instance that splits the HTTP Request pipeline differently. The resulting Response messages corrupt caches (between a client and Squid) with attacker-controlled content at arbitrary URLs. Effects are isolated to software between the attacker client and Squid. There are no effects on Squid itself, nor on any upstream servers. The issue is related to a request header containing whitespace between a header name and a colon. CVE-2019-18677: An issue was discovered in Squid 3.x and 4.x through 4.8 when the append_domain setting is used (because the appended characters do not properly interact with hostname length restrictions). Due to incorrect message processing, it can inappropriately redirect traffic to origins it should not be delivered to. CVE-2019-12529: An issue was discovered in Squid 2.x through 2.7.STABLE9, 3.x through 3.5.28, and 4.x through 4.7. When Squid is configured to use Basic Authentication, the Proxy-Authorization header is parsed via uudecode. uudecode determines how many bytes will be decoded by iterating over the input and checking its table. The length is then used to start decoding the string. There are no checks to ensure that the length it calculates isn't greater than the input buffer. This leads to adjacent memory being decoded as well. An attacker would not be able to retrieve the decoded data unless the Squid maintainer had configured the display of usernames on error pages. CVE-2019-12524: An issue was discovered in Squid through 4.7. When handling requests from users, Squid checks its rules to see if the request should be denied. Squid by default comes with rules to block access to the Cache Manager, which serves detailed server information meant for the maintainer. This rule is implemented via url_regex. The handler for url_regex rules URL decodes an incoming request. This allows an attacker to encode their URL to bypass the url_regex check, and gain access to the blocked resource.

Fixed packages 4

ReleasePackageFixed in
Amazon Linux · 2 squid 7:3.5.20-17.amzn2.7.10
Amazon Linux · 2 squid-debuginfo 7:3.5.20-17.amzn2.7.10
Amazon Linux · 2 squid-migration-script 7:3.5.20-17.amzn2.7.10
Amazon Linux · 2 squid-sysvinit 7:3.5.20-17.amzn2.7.10

Vulnerabilities 7

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2019-12524.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2019-12529.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2019-18677.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2019-18678.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2019-18860.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-28116.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-46847.html