CVE-2024-34363 Envoy can crash due to uncaught nlohmann JSON exception

High 7.5 Published Updated

Attackers can crash the Envoy proxy by sending incomplete UTF-8 strings, causing a denial of service.

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

What is CVE-2024-34363?

CVE-2024-34363 is a high-severity denial of service vulnerability in Envoyproxy Envoy, published on 4 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Envoy is a cloud-native, open source edge and service proxy. Due to how Envoy invoked the nlohmann JSON library, the library could throw an uncaught exception from downstream data if incomplete UTF-8 strings were serialized. The uncaught exception would cause Envoy to crash.

Weakness: CWE-248

Which versions are affected by CVE-2024-34363?

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

PackageAffectedFixed in
envoy BitnamiFrom 1.28.01.28.4, 1.29.5, 1.30.2

Products include Envoyproxy Envoy.

How do I fix CVE-2024-34363?

Upgrade envoy to a fixed version for your release line: 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-34363 being exploited?

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

All Envoyproxy Envoy vulnerabilities

Sources

Also known as BIT-envoy-2024-34363, GHSA-g979-ph9j-5gg4.

Is CVE-2024-34363 in your software?

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

Check your SBOMs for free