QID 356277

Date Published: 2023-09-28

QID 356277: Amazon Linux Security Advisory for squid : ALASSQUID4-2023-007

an issue was discovered in squid before 4.9.
When handling a urn request, a corresponding http request is made.
This http request doesnt go through the access checks that incoming http requests go through.
This causes all access checks to be bypassed and allows access to restricted http servers, e.g., an attacker can connect to http servers that only listen on localhost. (
( CVE-2019-12523) an issue was discovered in squid 3.3.9 through 3.5.28 and 4.x through 4.7.
When squid is configured to use digest authentication, it parses the header proxy-authorization.
It searches for certain tokens such as domain, uri, and qop.
Squid checks if this tokens value starts with a quote and ends with one.
If so, it performs a memcpy of its length minus 2.
Squid never checks whether the value is just a single quote (which would satisfy its requirements), leading to a memcpy of its length minus 1. (
( CVE-2019-12525) an issue was discovered in squid before 4.9.
Urn response handling in squid suffers from a heap-based buffer overflow.
When receiving data from a remote server in response to an urn request, squid fails to ensure that the response can fit within the buffer.
This leads to attacker controlled data overflowing in the heap. (
( CVE-2019-12526) an issue was discovered in squid 3.x and 4.x through 4.8.
Due to incorrect input validation, there is a heap-based buffer overflow that can result in denial of service to all clients using the proxy.
Severity is high due to this vulnerability occurring before normal security checks; any remote client that can reach the proxy port can trivially perform the attack via a crafted uri scheme. (
( CVE-2019-18678)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Please refer to Amazon advisory: ALASSQUID4-2023-007 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    ALASSQUID4-2023-007 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASSQUID4-2023-007.html