Lucene search

K
githubGitHub Advisory DatabaseGHSA-CFGP-2977-2FMM
HistoryJul 05, 2023 - 7:12 p.m.

Connection confusion in gRPC

2023-07-0519:12:51
CWE-440
GitHub Advisory Database
github.com
39
grpc
http2
header size error
hpack table
desynchronization
information leak
privilege escalation
data exfiltration
proxy
backend
upgrade
github
software

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

0.002 Low

EPSS

Percentile

56.4%

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/32309

Affected configurations

Vulners
Node
grpcgrpcRange<1.53.0
OR
grpcioRange<1.53.0
OR
io.grpc\grpcMatchprotobuf

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

0.002 Low

EPSS

Percentile

56.4%