6.1medium
Use-after-free in Envoy
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.88% (higher than 60% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-ENVOY-2021-43825GHSA-h69p-g6xg-mhhh
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| envoyproxy envoy | < 1.18.6, >= 1.19.0, < 1.19.3, >= 1.20.0, < 1.20.2, >= 1.21.0, < 1.21.1, before 1.18.6, from 1.19.0 before 1.19.3, from 1.20.0 before 1.20.2, from 1.21.0 before 1.21.1 | CVE List, NVD |
| envoy (Bitnami) | before 1.18.6, from 1.19.0 before 1.19.3, from 1.20.0 before 1.20.2, from 1.21.0 before 1.21.1 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Envoy es un proxy de borde y servicio de código abierto, diseñado para aplicaciones nativas de la nube. El envío de una respuesta generada localmente debe detener el procesamiento posterior de los datos de petición o respuesta. Envoy realiza un seguimiento de la cantidad de datos de petición y respuesta almacenados en el búfer y aborta la petición si la cantidad de datos almacenados en el búfer supera el límite enviando 413 o 500 respuestas. Sin embargo, cuando el búfer es desbordado mientras la respuesta es procesada por la cadena de filtros, es posible que la operación no sea abortada correctamente y que sea accedido a un bloque de memoria liberado. Si esto ocurre, Envoy será bloqueado resultando en una denegación de servicio
References
| https://github.com/envoyproxy/envoy/security/advisories/GHSA-h69p-g6xg-mhhh | advisory, issue-tracking, third-party-advisory | |
| https://github.com/envoyproxy/envoy/commit/148de954ed3585d8b4298b424aa24916d0de6136 | advisory, patch, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-43825 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-43825 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2021-43825 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-ENVOY-2021-43825 changed 2026-09-08 | Apache-2.0 |