CVE-2021-43825
Use-after-free in Envoy
MEDIUM 6.1
At a glance
- Source
- NVD
- EPSS
- EPSS 0.88 % · percentile 59 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-416 — Use After Free
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L | GitHub_M |
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2021-30705
- GCVE · GCVE-0-2021-43825
Affected configurations (NVD CPE)
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*< 1.18.6cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*≥ 1.19.0 < 1.19.3cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*≥ 1.20.0 < 1.20.2cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*≥ 1.21.0 < 1.21.1
Affected products
| Product | Versions |
|---|---|
| envoyproxy · envoy | affected < 1.18.6 ; affected >= 1.19.0, < 1.19.3 ; affected >= 1.20.0, < 1.20.2 ; affected >= 1.21.0, < 1.21.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |