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).

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.2%top 87.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12grpcno fix listedDEBIAN-CVE-2024-7246
Debian:13grpcno fix listedDEBIAN-CVE-2024-7246
Debian:14grpcno fix listedDEBIAN-CVE-2024-7246
Ubuntu:22.04:LTSgrpcno fix listedUBUNTU-CVE-2024-7246
Ubuntu:24.04:LTSgrpcno fix listedUBUNTU-CVE-2024-7246
Ubuntu:25.10grpcno fix listedUBUNTU-CVE-2024-7246
Ubuntu:26.04:LTSgrpcno fix listedUBUNTU-CVE-2024-7246
Ubuntu:26.10grpcno fix listedUBUNTU-CVE-2024-7246

Affected products (as reported)

VendorProductVersions
Google gRPC 1.53.01.53.11.53.21.54.01.54.11.54.31.55.01.55.1

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

References