Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Squid-Cache | Squid | >= 3.0, <= 3.5.28 |
| Debian | Debian Linux | 9.0 |
| Canonical | Ubuntu Linux | 16.04 |
| Opensuse | Leap | 15.1 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.htmlMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/04/23/1Mailing ListThird Party Advisory
- https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12519.tThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00009.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/202005-05Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210205-0006/Third Party Advisory
- https://usn.ubuntu.com/4356-1/Third Party Advisory
- https://www.debian.org/security/2020/dsa-4682Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.htmlMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/04/23/1Mailing ListThird Party Advisory
- https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12519.tThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00009.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/202005-05Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210205-0006/Third Party Advisory
- https://usn.ubuntu.com/4356-1/Third Party Advisory
FAQ
What is CVE-2019-12519?
CVE-2019-12519 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 wh...
How severe is CVE-2019-12519?
CVE-2019-12519 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2019-12519?
Check the references section above for vendor advisories and patch information. Affected products include: Squid-Cache Squid, Debian Debian Linux, Canonical Ubuntu Linux, Opensuse Leap.