Envoy: Race condition in Dynamic Forward Proxy leads to use-after-free and segmentation faults
Description
Envoy is an open source L7 proxy and communication bus designed for large modern service oriented architectures. Versions 1.34.0 through 1.34.4 and 1.35.0 contain a use-after-free (UAF) vulnerability in the DNS cache, causing abnormal process termination. The vulnerability is in Envoy's Dynamic Forward Proxy implementation, occurring when a completion callback for a DNS resolution triggers new DNS resolutions or removes existing pending resolutions. This condition may occur when the following conditions are met: dynamic Forwarding Filter is enabled, the envoy.reloadable_features.dfp_cluster_resolves_hosts runtime flag is enabled, and the Host header is modified between the Dynamic Forwarding Filter and Router filters. This issue is resolved in versions 1.34.5 and 1.35.1. To work around this issue, set the envoy.reloadable_features.dfp_cluster_resolves_hosts runtime flag to false.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/envoyproxy/envoyGo | >= 1.35.0, < 1.35.1 | 1.35.1 |
github.com/envoyproxy/envoyGo | >= 1.34.0, < 1.34.5 | 1.34.5 |
Affected products
1- Range: >= 1.34.0, < 1.34.5
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-g9vw-6pvx-7gmwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-54588ghsaADVISORY
- github.com/envoyproxy/envoy/releases/tag/v1.34.5ghsax_refsource_MISCWEB
- github.com/envoyproxy/envoy/releases/tag/v1.35.1ghsax_refsource_MISCWEB
- github.com/envoyproxy/envoy/security/advisories/GHSA-g9vw-6pvx-7gmwghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.