CVE-2024-53270 HTTP/1: sending overload crashes when the request is reset beforehand in envoy
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
Envoy is a cloud-native high-performance edge/middle/service proxy. In affected versions sendOverloadError is going to assume the active request exists when envoy.load_shed_points.http1_server_abort_dispatch is configured. If active_request is nullptr, only onMessageBeginImpl() is called. However, the onMessageBeginImpl will directly return ok status if the stream is already reset leading to the nullptr reference. The downstream reset can actually happen during the H/2 upstream reset. As a result envoy may crash. This issue has been addressed in releases 1.32.3, 1.31.5, 1.30.9, and 1.29.12. Users are advised to upgrade. Users unable to upgrade may disable http1_server_abort_dispatch load shed point and/or use a high threshold.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| envoyproxy envoy | < 1.29.12; = < 1.29.12; = >= 1.30.0, < 1.30.9; = >= 1.31.0, < 1.31.5 +4 more | 1.29.12, 1.30.9, 1.31.5, 1.32.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| envoyproxy envoy | = >= 1.32.0, < 1.32.3 | No fix listed |
| envoyproxy envoy | = >= 1.31.0, < 1.31.5 | No fix listed |
| envoyproxy envoy | = >= 1.30.0, < 1.30.9 | No fix listed |
| envoyproxy envoy | = < 1.29.12 | No fix listed |
| envoyproxy envoy | < 1.29.12 | 1.29.12 |
| envoyproxy envoy | >= 1.30.0, < 1.30.9 | 1.30.9 |
| envoyproxy envoy | >= 1.31.0, < 1.31.5 | 1.31.5 |
| envoyproxy envoy | >= 1.32.0, < 1.32.3 | 1.32.3 |
References
- https://github.com/envoyproxy/envoy/security/advisories/GHSA-q9qv-8j52-77p3 exploit mitigation third-party-advisory
- https://github.com/envoyproxy/envoy/pull/37743/commits/6cf8afda956ba67c9afad185b962325a5242ef02 patch