CVE-2019-12519 Memory corruption in n/a

Critical 9.8 Published Updated

A stack-based buffer overflow in Squid's ESI expression evaluation allows attackers to execute arbitrary code or cause a denial of service when ESI is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-12519?

CVE-2019-12519 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 15 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2019-12519?

It affects 4 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Opensuse Leap, Squid-Cache Squid.

How do I fix CVE-2019-12519?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-12519 being exploited?

There is no known exploitation of CVE-2019-12519 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2019-12519, DEBIAN-CVE-2019-12519, GHSA-2398-fmp4-7w9h, OESA-2021-1020, UBUNTU-CVE-2019-12519.

Is CVE-2019-12519 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free