CVE-2022-29227
envoy: Internal redirect crash for requests with body/trailers
Overview
Description
Envoy is a cloud-native high-performance edge/middle/service proxy. In versions prior to 1.22.1 if Envoy attempts to send an internal redirect of an HTTP request consisting of more than HTTP headers, there’s a lifetime bug which can be triggered. If while replaying the request Envoy sends a local reply when the redirect headers are processed, the downstream state indicates that the downstream stream is not complete. On sending the local reply, Envoy will attempt to reset the upstream stream, but as it is actually complete, and deleted, this result in a use-after-free. Users are advised to upgrade. Users unable to upgrade are advised to disable internal redirects if crashes are observed.
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.22.1 | 1.22.1 |
Open a package to see all its vulnerabilities.
Operating systems · 17 fixes
Oracle Linux 2 releases · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | kata | 1.12.1-5.el7 |
| 7 | istio +1 | 1.13.5-1.el7 |
| 7 | cri-tools | 1.23.0-1.el7 |
| 7 | cri-o | 1.23.3-1.el7 |
| 7 | kubeadm +2 | 1.23.7-1.el7 |
| 7 | olcne-oci-csi-chart | 1.4.6-2.el7 |
10 more rows
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | servicemesh-proxy +1 | affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-29227
- github.com https://github.com/envoyproxy/envoy/commit/fe7c69c248f4fe5a9080c7ccb35275b5218bb5ab
- github.com https://github.com/envoyproxy/envoy/security/advisories/GHSA-rm2p-qvf6-pvr6
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-29227.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-9589.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-29227
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-29227
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.