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
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2023-32731 - High Severity Vulnerability
Vulnerable Library - grpcio-1.40.0-cp37-cp37m-manylinux2014_x86_64.whl
HTTP/2-based RPC framework
Library home page: https://files.pythonhosted.org/packages/21/e7/4b5f207ae6d583ee4fb074425e22876d44b58f85893f34d0b60ec6440825/grpcio-1.40.0-cp37-cp37m-manylinux2014_x86_64.whl
Path to dependency file: /examples/grpc-bridge/client/requirements.txt
Path to vulnerable library: /examples/grpc-bridge/client/requirements.txt
Dependency Hierarchy: - :x: **grpcio-1.40.0-cp37-cp37m-manylinux2014_x86_64.whl** (Vulnerable Library)
Found in base branch: main
Vulnerability Details
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
Publish Date: 2023-06-09
URL: CVE-2023-32731
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-cfgp-2977-2fmm
Release Date: 2023-06-09
Fix Resolution: grpc- 1.53.0;grpcio- 1.53.0;io.grpc:grpc-protobuf:1.53.0