BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-39305 in Envoyproxy Envoy

Critical 9.1

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.1
EPSS1.1%
EPSS percentile64th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Envoyproxy Envoy < 1.27.7 ≥ 1.28.0, < 1.28.5 ≥ 1.29.0, < 1.29.7 ≥ 1.30.0, < 1.30.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-39305
BreachSpider IDBS-2024-GLOBAL-199323-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Published2024-07-01
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

Analysis AI-written, not human-reviewed

CVE-2024-39305 affects Envoy versions prior to 1.30.4, 1.29.7, 1.28.5, and 1.27.7. The vulnerability involves Envoy referencing already freed memory when a route hash policy is configured with cookie attributes, which could lead to undefined behavior including crashes or potential code execution.

An attacker could exploit this vulnerability by configuring a route hash policy with specific cookie attributes in Envoy, leading to a use-after-free condition. This could be achieved by manipulating the configuration files or through a malicious actor with access to the configuration interface.

Questions

What is CVE-2024-39305?

CVE-2024-39305 affects Envoy versions prior to 1.30.4, 1.29.7, 1.28.5, and 1.27.7. The vulnerability involves Envoy referencing already freed memory when a route hash policy is configured with cookie attributes, which could lead to undefined behavior including crashes or potential code execution.

What is the CVSS score for CVE-2024-39305?

CVE-2024-39305 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. EPSS: 1.1%.

Is CVE-2024-39305 actively exploited?

No confirmed active exploitation of CVE-2024-39305 as of 2026-09-25.

How do I remediate CVE-2024-39305?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2024-39305?

CVE-2024-39305 affects Envoyproxy Envoy.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Envoyproxy","product":"Envoy","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.