Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting envoyproxy/envoy package, versions [1.18.0,1.27.6)[1.28.0,1.28.4)[1.29.0,1.29.5)[1.30.0,1.30.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncontrolled Resource Consumption ('Resource Exhaustion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ENVOYPROXYENVOY-7213711
  • published5 Jun 2024
  • disclosed4 Jun 2024
  • creditPaul Ogilby

Introduced: 4 Jun 2024

CVE-2024-34364  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade envoyproxy/envoy to version 1.27.6, 1.28.4, 1.29.5, 1.30.2 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') due to the unbounded buffer used by the async HTTP client. An attacker can cause the system to run out of memory by sending specially crafted responses that exploit this behavior.

Other components that are using HTTP async clients in Envoy may also be impacted:

wasm filter, lua filter, ext_proc, oauth filter, ext_authz, jwks_fetcher, gcp_auther_filter, aws_metadata_fetcher, opentelemetry/http_trace_exporter, opentelemetry/dynatrace/sampler_config_provider, config_subscription/rest/rest_api_fetcher, rate_limiter.

Most of the auth/log related extensions assume trusted upstream, while wasm, lua, and ext_proc may not assume it.

References

CVSS Scores

version 3.1