rvvergara / expensify

1 stars 0 forks source link

CVE-2023-32731 (High) detected in grpcv1.20.0 #238

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2023-32731 - High Severity Vulnerability

Vulnerable Library - grpcv1.20.0

The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

Library home page: https://github.com/grpc/grpc.git

Found in HEAD commit: f2a9de372da1ba6c2fefb7d3dccc233ad7a2ac4d

Found in base branch: master

Vulnerable Source Files (2)

/node_modules/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_parser.cc /node_modules/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/internal.h

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


Step up your Open Source Security Game with Mend here