Improper Restriction of Operations within the Bounds of a Memory Buffer Affecting envoyproxy/envoy package, versions [,1.28.7) [1.29.0,1.29.9) [1.30.0,1.30.6) [1.31.0,1.31.2)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UNMANAGED-ENVOYPROXYENVOY-8062345
- published 20 Sep 2024
- disclosed 20 Sep 2024
- credit Nick Van Dyck
Introduced: 20 Sep 2024
CVE-2024-45810 Open this link in a new tabHow to fix?
Upgrade envoyproxy/envoy
to version 1.28.7, 1.29.9, 1.30.6, 1.31.2 or higher.
Overview
Affected versions of this package are vulnerable to Improper Restriction of Operations within the Bounds of a Memory Buffer due to the handling of sendLocalReply
in the HTTP async client. An attacker can cause the application to crash by exploiting the improper handling of HTTP status codes and the destruction sequence of the async stream.
Note:
This is only exploitable if the upgrade
and connection
headers are allowed, and request mirroring is configured.
PoC
- config
allowed_headers
to match any headers or
patterns:
- exact: upgrade
- exact: connection
Send WebSocket upgrade requests
The authentication server sends back 400 to reject the auth request.
Then Envoy will crash