CVE-2019-12519
When adding a new member, there is no check to ensure that the stack won't overflow.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (6.72%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 6.72% probability · 94th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- squid-cache/squid · debian/debian linux · canonical/ubuntu linux · opensuse/leap
- Source
- cve@mitre.org
References
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.htmlMailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/04/23/1Mailing List, Third Party Advisory
- https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12519.txtThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00009.htmlMailing List, Third 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 List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/04/23/1Mailing List, Third Party Advisory
- https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12519.txtThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00009.htmlMailing List, Third 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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.