What’s Vulnerable › Vulnerabilities
CVE-2024-7246: HPACK table poisoning in gRPC C++, Python & Ruby
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-08-06 · updated 2026-06-17
- Weakness: CWE-440
Description
It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the backend such that other clients see failed requests. It's also possible to use this vulnerability to leak other clients HTTP header keys, but not values. This occurs 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. Please update to a fixed version of gRPC as soon as possible. This bug has been fixed in 1.58.3, 1.59.5, 1.60.2, 1.61.3, 1.62.3, 1.63.2, 1.64.3, 1.65.4.
Affected products
- Google gRPC: before 1.58.3; from 1.59.0 before 1.59.5; from 1.60.0 before 1.60.2; from 1.61.0 before 1.61.3; from 1.62.0 before 1.62.3; from 1.63.0 before 1.63.2 — fixed in 1.58.3, 1.59.5, 1.60.2, 1.61.3, 1.62.3, 1.63.2
How to fix
Upgrade to a fixed version: Google gRPC 1.58.3, 1.59.5, 1.60.2, 1.61.3. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-7246 or the next vulnerability affects your stack