CVE Vulnerabilities

CVE-2023-35942

Use After Free

Published: Jul 25, 2023 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu

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, gRPC access loggers using listeners global scope can cause a use-after-free crash when the listener is drained. 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, disable gRPC access log or stop listener update.

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

Name Vendor Start Version End Version
Envoy Envoyproxy 1.23.0 (including) 1.23.12 (excluding)
Envoy Envoyproxy 1.24.0 (including) 1.24.10 (excluding)
Envoy Envoyproxy 1.25.0 (including) 1.25.9 (excluding)
Envoy Envoyproxy 1.26.0 (including) 1.26.4 (excluding)
Red Hat OpenShift Service Mesh 2.3 for RHEL 8 RedHat openshift-service-mesh/proxyv2-rhel8:2.3.6-4 *
Red Hat OpenShift Service Mesh 2.4 for RHEL 8 RedHat openshift-service-mesh/proxyv2-rhel8:2.4.3-7 *

Potential Mitigations

References