CVE-2021-36153: Incomplete Internal State Distinction in GRPCWebToHTTP2ServerCodec
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.79293%
CWE
-
Published
6/9/2023
Updated
6/19/2023
KEV Status
No
Technology
Swift
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/grpc/grpc-swift | swift | < 1.2.0 | 1.2.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability title and CWE-372 (Incomplete Internal State Distinction) directly implicate state management in GRPCWebToHTTP2ServerCodec. The codec's role in parsing gRPC Web requests makes its decode method the most likely candidate for improper state transitions. NVD's description of 'mismanaged state' and the precondition failure impact pattern further support this conclusion. While exact commit details are unavailable, the codec's core responsibility for request parsing and the vulnerability's nature strongly point to the decode() function as the vulnerable component.