CVE-2022-29228 Reachable assertion in Envoy

High 7.5 Published Updated

Attackers can trigger a reachable assertion in the Envoy OAuth filter, causing memory corruption and potential denial of service or code execution.

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

What is CVE-2022-29228?

CVE-2022-29228 is a high-severity use after free vulnerability in Envoyproxy Envoy, published on 9 Jun 2022. 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 proxy. In versions prior to 1.22.1 the OAuth filter would try to invoke the remaining filters in the chain after emitting a local response, which triggers an ASSERT() in newer versions and corrupts memory on earlier versions. continueDecoding() shouldn’t ever be called from filters after a local reply has been sent. Users are advised to upgrade. There are no known workarounds for this issue.

Weakness: CWE-416, CWE-617

Which versions are affected by CVE-2022-29228?

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

PackageAffectedFixed in
envoy BitnamiAll versions1.22.1

Products include Envoyproxy Envoy.

How do I fix CVE-2022-29228?

Upgrade envoy to 1.22.1 or later.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-29228 being exploited?

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

All Envoyproxy Envoy vulnerabilities

Sources

Also known as BIT-envoy-2022-29228, GHSA-rww6-8h7g-8jf6.

Is CVE-2022-29228 in your software?

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

Check your SBOMs for free