CVE-2024-45809: Jwt filter crash in the clear route cache with remote JWKs in envoy

Published Sep 19, 2024
·
Updated

Envoy is a cloud-native high-performance edge/middle/service proxy. Jwt filter will lead to an Envoy crash when clear route cache with remote JWKs. In the following case: 1. remote JWKs are used, which requires async header processing; 2. clearroutecache is enabled on the provider; 3. header operations are enabled in JWT filter, e.g. header to claims feature; 4. the routing table is configured in a way that the JWT header operations modify requests to not match any route. When these conditions are met, a crash is triggered in the upstream code due to nullptr reference conversion from route(). The root cause is the ordering of continueDecoding and clearRouteCache. This issue has been addressed in versions 1.31.2, 1.30.6, and 1.29.9. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected Software

3 affected components
Envoyproxy Envoy>=1.29.0<1.29.9
Envoyproxy Envoy>=1.30.0<1.30.6
Envoyproxy Envoy>=1.31.0<1.31.2

Event History

Sep 19, 2024
CVE Published
via MITRE·11:34 PM
Data Sourced
via MITRE·11:34 PM
DescriptionSeverityWeakness
Sep 20, 2024
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-45809?

CVE-2024-45809 has a high severity as it can lead to a crash of the Envoy service.

2

How do I fix CVE-2024-45809?

To fix CVE-2024-45809, you should upgrade Envoy to versions 1.29.9, 1.30.6, or 1.31.2 or later.

3

What are the affected versions for CVE-2024-45809?

CVE-2024-45809 affects Envoy versions from 1.29.0 to 1.29.9, 1.30.0 to 1.30.6, and 1.31.0 to 1.31.2.

4

What conditions lead to the crash in CVE-2024-45809?

The crash occurs when remote JWKs are used with clear_route_cache enabled while requiring async header processing.

5

Is there a workaround for CVE-2024-45809?

A temporary workaround for CVE-2024-45809 is to disable the clear_route_cache feature if using remote JWKs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203