CVE-2021-43825
envoy: Use-after-free when response filters increase response data
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-416
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | envoy | <1.18.6>=1.19.0, <1.19.3>=1.20.0, <1.20.2>=1.21.0, <1.21.1 | 1.18.61.19.31.20.21.21.1 |
Open a package to see all its vulnerabilities.
Operating systems · 4 fixes
Red Hat 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 | servicemesh +6 | 0:2.0.9-3.el8 | RHSA-2022:1276 |
| 8 | servicemesh +5 | 0:2.1.2-4.el8 | RHSA-2022:1275 |
| 8 | servicemesh-prometheus | 0:2.14.0-16.el8.1 | RHSA-2022:1276 |
| 8 | kiali | 0:v1.24.7.redhat1-1.el8 | RHSA-2022:1276 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-43825
- github.com https://github.com/envoyproxy/envoy/commit/148de954ed3585d8b4298b424aa24916d0de6136
- github.com https://github.com/envoyproxy/envoy/security/advisories/GHSA-h69p-g6xg-mhhh
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-43825
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-43825
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.