CVE-2025-54588 Envoy: Race condition in Dynamic Forward Proxy leads to use-after-free and segmentation faults
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| envoyproxy envoy | = 1.35.0; = >= 1.34.0, < 1.34.5; = >= 1.35.0, < 1.35.1; >= 1.34.0, < 1.34.5 | 1.34.5 | Fixed |
| envoyproxy envoy(Go) | = 1.35.0; >= 1.34.0, < 1.34.5; >= 1.35.0, < 1.35.1 | 1.34.5, 1.35.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| envoyproxy envoy(Go) | >= 1.35.0, < 1.35.1 | 1.35.1 |
| envoyproxy envoy(Go) | = 1.35.0 | No fix listed |
| envoyproxy envoy(Go) | >= 1.34.0, < 1.34.5 | 1.34.5 |
| envoyproxy envoy | = >= 1.34.0, < 1.34.5 | No fix listed |
| envoyproxy envoy | = >= 1.35.0, < 1.35.1 | No fix listed |
| envoyproxy envoy | >= 1.34.0, < 1.34.5 | 1.34.5 |
| envoyproxy envoy | = 1.35.0 | No fix listed |
References
- https://github.com/envoyproxy/envoy/security/advisories/GHSA-g9vw-6pvx-7gmw patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/envoyproxy/envoy/releases/tag/v1.34.5 release-notes
- https://github.com/envoyproxy/envoy/releases/tag/v1.35.1 release-notes
- github.com