Critical severity · published Jul 1, 2024
CVE-2024-39305
Envoy is a cloud-native, open source edge and service proxy
9.1
CVSS
0.6%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EN
Envoy · Envoyproxy
1.27.6; 1.28.4; 1.29.6; 1.30.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-39305
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-39305
Patch
https://github.com/envoyproxy/envoy/commit/02a06681fbe0e039b1c7a9215257a7537eddb518
Patch
https://github.com/envoyproxy/envoy/commit/50b384cb203a1f2894324cbae64b6d9bc44cce45
Patch
https://github.com/envoyproxy/envoy/commit/99b6e525fb9f6f6f19a0425f779bc776f121c7e5
Patch
https://github.com/envoyproxy/envoy/commit/b7f509607ad860fd6a63cde4f7d6f0197f9f63bb
Vendor Advisory
https://github.com/envoyproxy/envoy/security/advisories/GHSA-fp35-g349-h66f
More from Envoy
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
7.5
CVE-2023-44487
HTTP/2 Rapid Reset Attack Vulnerability
10.0
CVE-2019-9901
Envoy 1.9.0 and before does not normalize HTTP URL paths
9.8
CVE-2023-35941
Envoy is an open source edge and service proxy designed for cloud-native applications
9.8
CVE-2023-27488
Envoy is an open source edge and service proxy designed for cloud-native applications
