CVE-2019-12519

CRITICALCVSS 9.8/10EPSS 6.73%

Last modified

CVE-2019-12519 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. An issue was discovered in Squid through 4.7. When handling the tag esi:when when ESI is enabled, Squid calls ESIExpression::Evaluate. EPSS estimates a 6.73% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

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

EPSS Probability
6.73%

93.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Squid-CacheSquid>= 3.0, <= 3.5.28
Squid-CacheSquid>= 4.0, <= 4.10
Squid-CacheSquid>= 5.0, <= 5.0.1
DebianDebian Linux9.0
DebianDebian Linux10.0
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux19.10
CanonicalUbuntu Linux20.04
OpensuseLeap15.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2019-12519?
CVE-2019-12519 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 6.73% probability of exploitation in the next 30 days.
How do I fix CVE-2019-12519?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-12519?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST