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)
| Artifact | Affected versions | Fixed 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
14% of the dependent artifacts (294) still pull an affected version in their latest release.
| Depth | Dependent 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
- com.jetbrains.intellij.platform » ide-impl753 usages
- io.grpc » grpc-services686 usages
- com.google.cloud » google-cloud-storage642 usages
- com.jetbrains.intellij.platform » lang-impl536 usages
- io.quarkus » quarkus-grpc357 usages
- io.grpc » grpc-alts344 usages
- io.grpc » grpc-grpclb329 usages
- io.grpc » grpc-xds316 usages
- io.grpc » grpc-all298 usages
- com.google.cloud » google-cloud-bigquery175 usages
- com.google.api.grpc » grpc-google-common-protos158 usages
- com.google.cloud » google-cloud-pubsub152 usages
- com.pulumi » pulumi129 usages
- com.google.api.grpc » grpc-google-iam-v1115 usages
- com.google.cloud.bigdataoss » gcs-connector115 usages
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
References
| Advisory | NVD CVE-2023-32731 | nvd.nist.gov |
| Web | grpc/grpc issue #33463 | github.com |
| Web | grpc/grpc pull request #32309 | github.com |
| Web | grpc/grpc pull request #33005 | github.com |
| Web | grpc/grpc commit 29d8bee | github.com |
| Web | grpc/grpc commit 65a2a89 | github.com |
| Web | grpc/grpc release v1.53.1 | github.com |
| Web | grpc/grpc release v1.54.2 | github.com |
| Web | rubysec/ruby-advisory-db CVE-2023-32731.yml | github.com |
