Improper Restriction of Operations within the Bounds of a Memory Buffer Affecting envoyproxy/envoy package, versions [,1.29.9) [1.30.0,1.30.6) [1.31.0,1.31.2)
Threat Intelligence
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 ID SNYK-UNMANAGED-ENVOYPROXYENVOY-8062332
- published 20 Sep 2024
- disclosed 19 Sep 2024
- credit Andreas Moregård
Introduced: 19 Sep 2024
CVE-2024-45809 Open this link in a new tabHow to fix?
Upgrade envoyproxy/envoy
to version 1.29.9, 1.30.6, 1.31.2 or higher.
Overview
Affected versions of this package are vulnerable to Improper Restriction of Operations within the Bounds of a Memory Buffer due to the improper handling of clearRouteCache
when remote JWKs are used, which requires asynchronous header processing. An attacker can trigger a crash in the upstream code by exploiting the ordering of continueDecoding
and clearRouteCache
under specific conditions.
Note:
This is only exploitable if remote JWKs are used, clear_route_cache
is enabled on the provider, header operations are enabled in JWT filter, and the routing table is configured in a way that the JWT header operations modify requests to not match any route.