Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-39305— Envoy Proxy use after free when route hash policy is configured with cookie attributes

Quick assessment

Affected
envoyproxy envoy
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Envoy是一款开源的分布式代理服务器。 Envoy 1.30.4、1.29.7、1.28.5和1.27.7之前版本存在安全漏洞,该漏洞源于在配置路由哈希策略时使用cookie属性时引用了已经被释放的内存,导致Envoy内存的任意内容被发送到上游服务或进程异常终止。

CVSS 6.5 · Medium EPSS 0.65% · P49

Possible ATT&CK Techniques 1 AI

T1557 · Adversary-in-the-Middle
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-39305

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Envoy Proxy use after free when route hash policy is configured with cookie attributes
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5
Vulnerability Title
Envoy 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Envoy是一款开源的分布式代理服务器。 Envoy 1.30.4、1.29.7、1.28.5和1.27.7之前版本存在安全漏洞,该漏洞源于在配置路由哈希策略时使用cookie属性时引用了已经被释放的内存,导致Envoy内存的任意内容被发送到上游服务或进程异常终止。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
envoyproxy envoy >= 1.30.0, < 1.30.4 -

II. Public POCs for CVE-2024-39305

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-39305

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-39305 (4)

Vendor Advisories for CVE-2024-39305 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-39305

No comments yet


Leave a comment