CVE Vulnerabilities

CVE-2021-43826

Use After Free

Published: Feb 22, 2022 | 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
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
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

Envoy is an open source edge and service proxy, designed for cloud-native applications. In affected versions of Envoy a crash occurs when configured for :ref:upstream tunneling <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.tunneling_config> and the downstream connection disconnects while the the upstream connection or http/2 stream is still being established. There are no workarounds for this issue. Users are advised to upgrade.

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.18.6 (excluding)
Envoy Envoyproxy 1.19.0 (including) 1.19.3 (excluding)
Envoy Envoyproxy 1.20.0 (including) 1.20.2 (excluding)
Envoy Envoyproxy 1.21.0 (including) 1.21.1 (excluding)
OpenShift Service Mesh 2.0 RedHat servicemesh-proxy-0:2.0.9-3.el8 *
OpenShift Service Mesh 2.1 RedHat servicemesh-proxy-0:2.1.2-4.el8 *

Potential Mitigations

References