CVE-2021-43826 Crash when tunneling TCP over HTTP in Envoy
Attackers can crash Envoy proxy by disconnecting downstream connections during upstream tunneling setup, requiring specific tunneling configuration.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-43826?
CVE-2021-43826 is a high-severity use after free vulnerability in Envoyproxy Envoy, published on 22 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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: CWE-416
Which versions are affected by CVE-2021-43826?
1 open source package ship an affected version, including envoy. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
envoy Bitnami | All versions | 1.18.6, 1.19.3, 1.20.2, 1.21.1 |
Products include Envoyproxy Envoy.
How do I fix CVE-2021-43826?
Upgrade envoy to a fixed version for your release line: 1.18.6, 1.19.3, 1.20.2 or 1.21.1.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2021-43826 being exploited?
There is no known exploitation of CVE-2021-43826 in the wild and no public exploit code.
Other vulnerabilities in Envoyproxy Envoy
Sources
Also known as BIT-envoy-2021-43826, GHSA-cmx3-fvgf-83mf.