It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the backend such that other clients see failed requests. It's also possible to use this vulnerability to leak other clients HTTP header keys, but not values.
This occurs because the error status for a misencoded header is not cleared between header reads, resulting in subsequent (incrementally indexed) added headers in the first request being poisoned until cleared from the HPACK table.
Please update to a fixed version of gRPC as soon as possible. This bug has been fixed in 1.58.3, 1.59.5, 1.60.2, 1.61.3, 1.62.3, 1.63.2, 1.64.3, 1.65.4.
CVE-2024-7246 - Medium Severity Vulnerability
Vulnerable Library - grpcv1.24.3
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
Library home page: https://github.com/grpc/grpc.git
Found in HEAD commit: 1c9178c5a1b42520307da1fa7f9b1899276178ed
Found in base branch: master
Vulnerable Source Files (2)
/trustid-sdk/node_modules/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_parser.cc /trustid-sdk/node_modules/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_parser.cc
Vulnerability Details
It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the backend such that other clients see failed requests. It's also possible to use this vulnerability to leak other clients HTTP header keys, but not values. This occurs because the error status for a misencoded header is not cleared between header reads, resulting in subsequent (incrementally indexed) added headers in the first request being poisoned until cleared from the HPACK table. Please update to a fixed version of gRPC as soon as possible. This bug has been fixed in 1.58.3, 1.59.5, 1.60.2, 1.61.3, 1.62.3, 1.63.2, 1.64.3, 1.65.4.
Publish Date: 2024-08-06
URL: CVE-2024-7246
CVSS 3 Score Details (5.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Changed - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Release Date: 2024-08-06
Fix Resolution: v1.58.3,v1.59.5,v1.60.2,v1.61.3,v1.62.3,v1.63.2,v1.64.3,v1.65.4
Step up your Open Source Security Game with Mend here