Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. grpc
  4. ›
  5. CVE-2023-32731

CVE-2023-32731: Connection confusion in gRPC

July 5, 2023 (updated July 14, 2023)

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. We recommend upgrading beyond the commit contained in  https://github.com/grpc/grpc/pull/33005 https://github.com/grpc/grpc/pull/33005

References

  • github.com/advisories/GHSA-cfgp-2977-2fmm
  • github.com/grpc/grpc/issues/33463
  • github.com/grpc/grpc/pull/32309
  • github.com/grpc/grpc/pull/33005
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/grpc/CVE-2023-32731.yml
  • nvd.nist.gov/vuln/detail/CVE-2023-32731

Code Behaviors & Features

Detect and mitigate CVE-2023-32731 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.53.0

Fixed versions

  • 1.53.0

Solution

Upgrade to version 1.53.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Source file

gem/grpc/CVE-2023-32731.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.