github.com/envoyproxy/envoy
Affected
- introduced
1.35.0, fixed1.35.1(semver)
Fixed versions
1.35.1
Fix
- Fixed version
1.35.1go get github.com/envoyproxy/[email protected]
Advisory
Also known as: BIT-envoy-2025-54588, CVE-2025-54588
Envoy: Race condition in Dynamic Forward Proxy leads to use-after-free and segmentation faults
Summary
A use-after-free (UAF) vulnerability in Envoy's DNS cache causes abnormal process termination. Envoy may reallocate memory when processing a pending DNS resolution, causing list iterator to reference freed memory.
Details
The vulnerability exists in Envoy's Dynamic Forward Proxy implementation starting from version v1.34.0. The issue occurs when a completion callback for a DNS resolution triggers new DNS resolutions or removes existing pending resolutions. This condition may occur in the following configuration:
envoy.reloadable_features.dfp_cluster_resolves_hosts runtime flag is enabled.Impact
Denial of service due to abnormal process termination.
Attack vector(s)
Request to Envoy configured as indicated above.
Patches
Users should upgrade to v1.35.1 or v1.34.5.
Workaround
Set the envoy.reloadable_features.dfp_cluster_resolves_hosts runtime flag to false.
Detection
Abnormal process termination with the Envoy::Event::DispatcherImpl::runPostCallbacks() frame in the call stack.
Credits
Rohit Agrawal (agrawroh) ([[email protected]](mailto:[email protected]))
High Basis: The source's own band: HIGH
1.35.0, fixed 1.35.1 (semver)1.35.1
1.35.1go get github.com/envoyproxy/[email protected]1.34.0, fixed 1.34.5 (semver)1.34.5
1.34.5go get github.com/envoyproxy/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0