CVE-2022-29227 json
Use after free in Envoy
published 2022-06-09 4 y ago modified 2026-09-08 2 mo ago also BIT-envoy-2022-29227 , EUVD-2022-33589 , GHSA-rm2p-qvf6-pvr6
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-29227 updated cvss 7.5
envoy: Internal redirect crash for requests with body/trailers
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-proxy Red Hat OpenShift Service Mesh 2.1 servicemesh-proxy, servicemesh-proxy-wasmaffected: workaround, no fix available “Disable internal redirects if crashes are observed.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.25% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | envoy | <1.22.1 |
1.22.1 |
Affected products
- envoyproxy envoy
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/envoyproxy/envoy/commit/fe7c69c248f4fe5a9080c7ccb35275b5218bb5ab
patch, third-party-advisory, advisory
-
github.com
/envoyproxy/envoy/security/advisories/GHSA-rm2p-qvf6-pvr6
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-29227
web
Sources
- CVE List CVE-2022-29227
- NVD CVE-2022-29227
- OSV BIT-envoy-2022-29227
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.