HIGH 7.4

CVE-2023-32731

Connection confusion in gRPC

Description

When gRPC HTTP2 stack raised a header size exceeded error, it skipped parsing the rest of the HPACK frame. This caused any HPACK table mutations to also be skipped, resulting in a desynchronization of HPACK tables between sender and receiver. If leveraged, say, between a proxy and a backend, this could lead to requests from the proxy being interpreted as containing headers from different proxy clients - leading to an information leak that can be used for privilege escalation or data exfiltration.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
io.grpc » grpc-protobuf
>= 1.53.0, < 1.53.1>= 1.54.0, < 1.54.2
1.53.1, 1.54.2

Blast radius

1affected artifacts
3affected versions
1,974dependent artifacts (est.)
38,128dependent versions

14% of the dependent artifacts (294) still pull an affected version in their latest release.

DepthDependent versions
Direct
6,880
2 hops
21,110
3 hops
5,314
4 hops
2,869
5 hops
1,620
6 hops
335

Most used dependents

Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects PyPI (1 package) RubyGems (1 package) . See all on OSV