CVE-2023-32731 — Connection confusion in grpc — CVE Details
Connection confusion in gRPC
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.46%). Schedule for your next planned update.
Does your project use an affected grpc version?
Paste your Gemfile.lock to check it for CVE-2023-32731 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published July 5, 2023 (1240 days ago).
- Last revised September 10, 2026 — 1162 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install grpc -v 1.53.1
gem install grpc -v 1.54.2
pip install "grpcio>=1.54.2"
pip install "grpcio>=1.53.1"
<!-- Update pom.xml dependency version to 1.53.1 for io.grpc:grpc-protobuf -->
<!-- Update pom.xml dependency version to 1.54.2 for io.grpc:grpc-protobuf -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 3 ecosystems: Maven (1), PyPI (1), RubyGems (1).
| Package | Fixed In |
|---|---|
| grpc RubyGems · Affected: 1.53.0 | 1.53.1 |
| grpc RubyGems · Affected: 1.54.0 | 1.54.2 |
| grpcio PyPI · Affected: 1.54.0 | 1.54.2 |
| grpcio PyPI · Affected: 1.53.0 | 1.53.1 |
| io.grpc:grpc-protobuf Maven · Affected: 1.53.0 | 1.53.1 |
| io.grpc:grpc-protobuf Maven · Affected: 1.54.0, 1.54.1 | 1.54.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-440
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.4 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-32731ADVISORY
- https://github.com/grpc/grpc/issues/33463WEB
- https://github.com/grpc/grpc/pull/32309WEB
- https://github.com/grpc/grpc/pull/33005WEB
- https://github.com/grpc/grpc/commit/29d8beee0ac2555773b2a2dda5601c74a95d6c10WEB
- https://github.com/grpc/grpc/commit/65a2a895afaf1d2072447b9baf246374b182a946WEB
- https://github.com/grpc/grpc/releases/tag/v1.53.1WEB
- https://github.com/grpc/grpc/releases/tag/v1.54.2WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/grpc/CVE-2023-32731.ymlWEB
Frequently Asked Questions
- What is CVE-2023-32731?
- Connection confusion in gRPC. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.4/10).
- How do I check if my project is affected by CVE-2023-32731?
- CVE-2023-32731 affects grpc, grpcio and io.grpc:grpc-protobuf. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-32731 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 31.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2023-33953HIGH
Excessive Iteration in gRPC
- CVE-2023-1428HIGH
gRPC Reachable Assertion issue
- CVE-2026-128139HIGH
NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of service
- CVE-2023-4785HIGH
Denial of Service Vulnerability in gRPC TCP Server (Posix-compatible platforms)
- CVE-2026-129222HIGH
Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()