Alpine: squid: security update to 4.11-r0

critical Tenable Self-Hosted Container Security Plugin ID 407228

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- An issue was discovered in Squid through 4.7. When handling the tag esi:when when ESI is enabled, Squid
calls ESIExpression::Evaluate. This function uses a fixed stack buffer to hold the expression while it's
being evaluated. When processing the expression, it could either evaluate the top of the stack, or add a
new member to the stack. When adding a new member, there is no check to ensure that the stack won't
overflow. (CVE-2019-12519)

- An issue was discovered in Squid through 4.7. 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)

- An issue was discovered in Squid before 5.0.2. A remote attacker can replay a sniffed Digest
Authentication nonce to gain access to resources that are otherwise forbidden. This occurs because the
attacker can overflow the nonce reference counter (a short integer). Remote code execution may occur if
the pooled token credentials are freed (instead of replayed as valid credentials). (CVE-2020-11945)

See Also

https://security.alpinelinux.org/vuln/CVE-2019-12519

https://security.alpinelinux.org/vuln/CVE-2019-12521

https://security.alpinelinux.org/vuln/CVE-2020-11945

Plugin Details

Severity: Critical

ID: 407228

Version: Revision 1.37

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2020-11945

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 4/15/2020

Reference Information

CVE: CVE-2019-12519, CVE-2019-12521, CVE-2020-11945