Expected Behavior Violation Affecting grcpio package, versions [,1.58.3) [1.59.0,1.59.5) [1.60.0,1.60.2) [1.61.0,1.61.3) [1.62.0,1.62.3) [1.63.0,1.63.2) [1.64.0,1.64.3) [1.65.0,1.65.4)
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-PYTHON-GRCPIO-7641066
- published 6 Aug 2024
- disclosed 6 Aug 2024
- credit Unknown
Introduced: 6 Aug 2024
CVE-2024-7246 Open this link in a new tabHow to fix?
Upgrade grcpio
to version 1.58.3, 1.59.5, 1.60.2, 1.61.3, 1.62.3, 1.63.2, 1.64.3, 1.65.4 or higher.
Overview
grcpio is a remote procedure call (RPC) framework.
Affected versions of this package are vulnerable to Expected Behavior Violation via the HPackParser
function when the gRPC client is communicating with an HTTP/2 proxy, allowing the attacker to poison the HPACK table. By manipulating the header encoding and poisoning the HPACK table between the proxy and the backend, an attacker can cause other gRPC clients to see failed requests or potentially leak HTTP header keys but not their values.
This vulnerability exists because the error status for a misencoded header is not cleared between header reads, resulting in subsequent (incrementally indexed) added headers in the first request being poisoned until cleared from the HPACK table.