Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2024-39305

Envoy Proxy use after free when route hash policy is configured with cookie attributes

Overview

Published
1 Jul 2024
Modified
17 Jun 2026
Critical CVE
1 Registry packages
3 OS packages
1 Linux distributions
Yes Fix available

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: OX vulnerability database

Severity

9.1 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Weakness: CWE-416

Affected packages · 1

Packages affected by CVE-2024-39305
EcosystemPackageVulnerableFixed in
Bitnami envoy <1.27.7>=1.28.0, <1.28.5>=1.29.0, <1.29.7>=1.30.0, <1.30.4 1.27.71.28.51.29.71.30.4

Open a package to see all its vulnerabilities.

Operating systems · 1 fix

openSUSE 1 release · 1 package

fixed 1
istioctl
openSUSE fixes for CVE-2024-39305
ReleasePackageFixed inAdvisory
Tumbleweed istioctl +2 1.22.3-1.1 openSUSE-SU-2024:14198-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.