CVE-2024-23323 Excessive CPU usage when URI template matcher is configured using regex in Envoy

Medium 4.3 Published Updated

Attackers can cause excessive CPU usage and service degradation in Envoy by exploiting regex-based URI template matchers, requiring an upgrade to mitigate.

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

What is CVE-2024-23323?

CVE-2024-23323 is a medium-severity denial of service vulnerability in Envoyproxy Envoy, published on 9 Feb 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Envoy is a high-performance edge/middle/service proxy. The regex expression is compiled for every request and can result in high CPU usage and increased request latency when multiple routes are configured with such matchers. This issue has been addressed in released 1.29.1, 1.28.1, 1.27.3, and 1.26.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-400, CWE-1176

Which versions are affected by CVE-2024-23323?

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

PackageAffectedFixed in
envoy BitnamiFrom 1.26.01.26.7, 1.27.3, 1.28.1, 1.29.1

Products include Envoyproxy Envoy.

How do I fix CVE-2024-23323?

Upgrade envoy to a fixed version for your release line: 1.26.7, 1.27.3, 1.28.1 or 1.29.1.

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

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

All Envoyproxy Envoy vulnerabilities

Sources

Also known as BIT-envoy-2024-23323, GHSA-x278-4w4x-r7ch.

Is CVE-2024-23323 in your software?

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

Check your SBOMs for free