high7.5
CVE-2021-36154
Uncontrolled Recursion in HTTP2ToRawGRPCServerCodec
Impact
### Impact Affected gRPC Swift servers are vulnerable to uncontrolled recursion and stack consumption when parsing certain payloads. This may lead to a denial of service. ### Patches The problem has been fixed in 1.2.0. ### Workarounds No workaround is available. Users must upgrade.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| swift | github.com/grpc/grpc-swift | < 1.2.0 | 1.2.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linuxfoundation | Grpc Swift | Versions 1.0.0, 1.1.0, 1.1.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35274
- https://github.com/grpc/grpc-swift/releases
- https://github.com/grpc/grpc-swift/security/advisories/GHSA-4rhq-vq24-88gw
- https://github.com/advisories/GHSA-4rhq-vq24-88gw
- https://nvd.nist.gov/vuln/detail/CVE-2021-36154
- https://github.com/grpc/grpc-swift/releases/tag/1.2.0