CVE-2024-45807 oghttp2 crash on OnBeginHeadersForStream in envoy

High 7.5 Published Updated

A bug in Envoy's oghttp2 codec causes crashes during stream management, requiring an upgrade to restore service availability.

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-45807?

CVE-2024-45807 is a high-severity denial of service vulnerability in Envoyproxy Envoy, published on 19 Sep 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 high-performance edge/middle/service proxy. Envoy's 1.31 is using `oghttp` as the default HTTP/2 codec, and there are potential bugs around stream management in the codec. To resolve this Envoy will switch off the `oghttp2` by default. The impact of this issue is that envoy will crash. This issue has been addressed in release version 1.31.2. All users are advised to upgrade. There are no known workarounds for this issue.

Weakness: CWE-670

Which versions are affected by CVE-2024-45807?

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

PackageAffectedFixed in
envoy BitnamiFrom 1.31.01.31.2

Products include Envoyproxy Envoy.

How do I fix CVE-2024-45807?

Upgrade envoy to 1.31.2 or later.

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-45807 being exploited?

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

All Envoyproxy Envoy vulnerabilities

Sources

Also known as BIT-envoy-2024-45807, GHSA-qc52-r4x5-9w37.

Is CVE-2024-45807 in your software?

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

Check your SBOMs for free