CVE-2024-34364 Envoy OOM vector from HTTP async client with unbounded response buffer for mirror response

Medium 5.7 Published Updated

Attackers can cause denial of service in Envoy proxy by triggering out-of-memory conditions via unbounded buffering of mirrored HTTP responses.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-34364?

CVE-2024-34364 is a medium-severity denial of service vulnerability in Envoyproxy Envoy, published on 4 Jun 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Envoy is a cloud-native, open source edge and service proxy. Envoy exposed an out-of-memory (OOM) vector from the mirror response, since async HTTP client will buffer the response with an unbounded buffer.

Weakness: CWE-787, CWE-400

Which versions are affected by CVE-2024-34364?

1 open source package ship an affected version, including envoy. It affects 1 product.

PackageAffectedFixed in
envoy BitnamiAll versions1.27.6, 1.28.4, 1.29.5, 1.30.2

Products include Envoyproxy Envoy.

How do I fix CVE-2024-34364?

Upgrade envoy to a fixed version for your release line: 1.27.6, 1.28.4, 1.29.5 or 1.30.2.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-34364 being exploited?

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

All Envoyproxy Envoy vulnerabilities

Sources

Also known as BIT-envoy-2024-34364, GHSA-xcj3-h7vf-fw26.

Is CVE-2024-34364 in your software?

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

Check your SBOMs for free