Buffer overflow in Squid-Cache Squid
CVE-2019-12519
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.067, 94.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Squid-Cache Squid
- Canonical Ubuntu Linux — versions 16.04, 18.04, 19.10
- Debian Linux — versions 9.0, 10.0
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
References
- gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12519.txt (Third Party Advisory)
- [oss-security] 20200423 [ADVISORY] SQUID-2019:12 Multiple issues in ESI Response processing (mailing-list, Mailing List, Third Party Advisory)
- DSA-4682 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2020:0623 (vendor-advisory, Mailing List, Third Party Advisory)
- GLSA-202005-05 (vendor-advisory, Third Party Advisory)
- USN-4356-1 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20200710 [SECURITY] [DLA 2278-1] squid3 security update (mailing-list, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20210205-0006/ (Third Party Advisory)