Lucene search

K
cvelistGitHub_MCVELIST:CVE-2024-39305
HistoryJul 01, 2024 - 9:10 p.m.

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

2024-07-0121:10:23
CWE-416
GitHub_M
www.cve.org
4
envoy proxy
use after free
vulnerability
route hash policy
cookie attributes
memory
configuration
fix
versions
workaround

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

LOW

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

0.0004 Low

EPSS

Percentile

15.7%

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.

CNA Affected

[
  {
    "vendor": "envoyproxy",
    "product": "envoy",
    "versions": [
      {
        "version": ">= 1.30.0, < 1.30.4",
        "status": "affected"
      },
      {
        "version": ">= 1.29.0, < 1.29.7",
        "status": "affected"
      },
      {
        "version": ">= 1.28.0, < 1.28.5",
        "status": "affected"
      },
      {
        "version": "< 1.27.7",
        "status": "affected"
      }
    ]
  }
]

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

LOW

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

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2024-39305