QID 357357

Date Published: 2024-04-02

QID 357357: Amazon Linux Security Advisory for squid : ALAS2-2024-2509

A flaw was found in squid.
When squid is parsing esi, it keeps the esi elements in esicontext.
Esicontext contains a buffer for holding a stack of esielements.
When a new esielement is parsed, it is added via addstackelement.
Addstackelement has a check for the number of elements in this buffer, but it's off by 1, leading to a heap overflow of 1 element.
The overflow is within the same structure so it can't affect adjacent memory blocks, and thus just leads to a crash while processing. (
( CVE-2019-12521) due to chunked decoder lenience squid is vulnerable to request/response smuggling attacks when parsing http/1.1 and icap messages. (
( CVE-2023-46846)



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 Medium - 5.9 severity.
  • CVSS V2 rated as Medium - 4.3 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2024-2509 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 357357

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2024-2509 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2024-2509.html