Use After Free in Envoyproxy Envoy
CVE-2021-43825
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L.
EPSS exploit prediction
EPSS 0.009, 59.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Envoyproxy Envoy — versions < 1.18.6, >= 1.19.0, < 1.19.3, >= 1.20.0, < 1.20.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, ssst0n3/docker_archive). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/envoyproxy/envoy/security/advisories/GHSA-h69p-g6xg-mhhh (Third Party Advisory, Issue Tracking)
- github.com/envoyproxy/envoy/commit/148de954ed3585d8b4298b424aa24916d0de6136 (Patch, Third Party Advisory)