CVE-2021-36153 Incomplete Internal State Distinction in GRPCWebToHTTP2ServerCodec
Remote attackers can cause denial of service in gRPC Swift applications by sending malformed requests due to mismanaged state in the codec.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-36153?
CVE-2021-36153 is a high-severity denial of service vulnerability in n/a, published on 9 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Mismanaged state in GRPCWebToHTTP2ServerCodec.swift in gRPC Swift 1.1.0 and 1.1.1 allows remote attackers to deny service by sending malformed requests.
Which versions are affected by CVE-2021-36153?
2 open source packages ship an affected version, including github.com/grpc/grpc-swift. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grpc/grpc-swift SwiftURL | All versions | 1.2.0 |
github.com/grpc/grpc-swift SwiftURL | All versions | 1.2.0 |
Products include Linuxfoundation Grpc Swift.
How do I fix CVE-2021-36153?
Upgrade github.com/grpc/grpc-swift to 1.2.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2021-36153 being exploited?
There is no known exploitation of CVE-2021-36153 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-2jx2-qcm4-rf9h.