CVE Vulnerabilities

CVE-2023-35943

Use After Free

Published: Jul 25, 2023 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
root.io logo minimus.io logo echo.ai logo

Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to versions 1.27.0, 1.26.4, 1.25.9, 1.24.10, and 1.23.12, the CORS filter will segfault and crash Envoy when the origin header is removed and deleted between decodeHeadersand encodeHeaders. Versions 1.27.0, 1.26.4, 1.25.9, 1.24.10, and 1.23.12 have a fix for this issue. As a workaround, do not remove the origin header in the Envoy configuration.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
EnvoyEnvoyproxy1.23.0 (including)1.23.12 (excluding)
EnvoyEnvoyproxy1.24.0 (including)1.24.10 (excluding)
EnvoyEnvoyproxy1.25.0 (including)1.25.9 (excluding)
EnvoyEnvoyproxy1.26.0 (including)1.26.4 (excluding)
Red Hat OpenShift Service Mesh 2.3 for RHEL 8RedHatopenshift-service-mesh/proxyv2-rhel8:2.3.6-4*
Red Hat OpenShift Service Mesh 2.4 for RHEL 8RedHatopenshift-service-mesh/proxyv2-rhel8:2.4.2-7*

Potential Mitigations

References