Vulnerability · Published Aug 6, 2024 · Assigned by Google
CVE-2024-7246HPACK table poisoning in gRPC C++, Python & Ruby
Medium 6.3
In plain English
A medium-severity security flaw in gRPC from Google. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | grpc | no fix listed | DEBIAN-CVE-2024-7246 |
| Debian:13 | grpc | no fix listed | DEBIAN-CVE-2024-7246 |
| Debian:14 | grpc | no fix listed | DEBIAN-CVE-2024-7246 |
| Ubuntu:22.04:LTS | grpc | no fix listed | UBUNTU-CVE-2024-7246 |
| Ubuntu:24.04:LTS | grpc | no fix listed | UBUNTU-CVE-2024-7246 |
| Ubuntu:25.10 | grpc | no fix listed | UBUNTU-CVE-2024-7246 |
| Ubuntu:26.04:LTS | grpc | no fix listed | UBUNTU-CVE-2024-7246 |
| Ubuntu:26.10 | grpc | no fix listed | UBUNTU-CVE-2024-7246 |
Affected products (as reported)
Weakness: CWE-440 · Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L