CVE-2024-37894 Squid vulnerable to heap corruption in ESI assign

Medium 6.3 Published Updated

An out-of-bounds write in Squid's ESI variable assignment allows attackers to cause a denial of service via memory corruption.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-37894?

CVE-2024-37894 is a medium-severity memory corruption vulnerability in Squid-Cache Squid, published on 25 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Due to an Out-of-bounds Write error when assigning ESI variables, Squid is susceptible to a Memory Corruption error. This error can lead to a Denial of Service attack.

Weakness: CWE-787

Which versions are affected by CVE-2024-37894?

It affects 1 product.

Linux distribution packages (10)
squid Red Hat:rhel_eus:9.2::appstreamAll versions7:5.5-5.el9_2.7
squid-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions7:5.5-5.el9_2.7
squid-debugsource Red Hat:rhel_eus:9.2::appstreamAll versions7:5.5-5.el9_2.7
squid SUSE:Linux Enterprise Module for Server Applications 15 SP5All versions5.7-150400.3.32.1
squid SUSE:Linux Enterprise Module for Server Applications 15 SP6All versions6.10-150600.3.6.1
squid SUSE:Linux Enterprise Server 12 SP5All versions4.17-4.50.1
squid SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions4.17-4.50.1
squid openSUSE:Leap 15.5All versions5.7-150400.3.32.1
squid openSUSE:Leap 15.6All versions6.10-150600.3.6.1
squid openSUSE:TumbleweedAll versions6.10-1.1

Products include Squid-Cache Squid.

How do I fix CVE-2024-37894?

Apply the vendor's patch.

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

Is CVE-2024-37894 being exploited?

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

All Squid-Cache Squid vulnerabilities

Sources

Also known as AZL-42871, CLSA-2024-1725012247, CLSA-2024-1725012269, DEBIAN-CVE-2024-37894, DSA-5751-1, GHSA-wgvf-q977-9xjg and 11 more.

Is CVE-2024-37894 in your software?

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

Check your SBOMs for free