Vulnerabilities · 2024 · Envoyproxy
CVE-2024-39305
Envoyproxy Envoy vulnerability
Envoy is a cloud-native, open source edge and service proxy. Prior to versions 1.30.4, 1.29.7, 1.28.5, and 1.27.7. Envoy references already freed memory when route hash policy is configured with cookie attributes. Note that this vulnerability has been fixed in the open as the effect would be immediately apparent if it was configured. Memory allocated for holding attribute values is freed after configuration was parsed. During request processing Envoy will attempt to copy content of de-allocated memory into request cookie header. This can lead to arbitrary content of Envoy's memory to be sent to the upstream service or abnormal process termination. This vulnerability is fixed in Envoy versions v1.30.4, v1.29.7, v1.28.5, and v1.27.7. As a workaround, do not use cookie attributes in route action hash policy.
Affected products
Envoy. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Envoyproxy Envoy runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/envoyproxy/envoy/security/advisories/GHSA-fp35-g349-h66f · Vendor Advisory
- github.com/envoyproxy/envoy/commit/02a06681fbe0e039b1c7a9215257a7537eddb518 · Patch
- github.com/envoyproxy/envoy/commit/50b384cb203a1f2894324cbae64b6d9bc44cce45 · Patch
- github.com/envoyproxy/envoy/commit/99b6e525fb9f6f6f19a0425f779bc776f121c7e5 · Patch
- github.com/envoyproxy/envoy/commit/b7f509607ad860fd6a63cde4f7d6f0197f9f63bb · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-39305
- cve.org/CVERecord?id=CVE-2024-39305
More vulnerabilities in Envoyproxy products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.