7.5high
Uncontrolled Recursion in HTTP2ToRawGRPCServerCodec
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 2.08% (higher than 82% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-4rhq-vq24-88gw
Description
HTTP2ToRawGRPCServerCodec in gRPC Swift 1.1.1 and earlier allows remote attackers to deny service via the delivery of many small messages within a single HTTP/2 frame, leading to Uncontrolled Recursion and stack consumption.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/grpc/grpc-swift (SwiftURL) | before 1.2.0 | GitHub Advisory Database |
| linuxfoundation grpc_swift | 1.0.0, 1.1.0, 1.1.1 | NVD |
All scores
| GitHub | medium rating | |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
HTTP2ToRawGRPCServerCodec in gRPC Swift 1.1.1 and earlier allows remote attackers to deny service via the delivery of many small messages within a single HTTP/2 frame, leading to Uncontrolled Recursion and stack consumption.
GitHub Advisory Database
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.
NVD (es)
La función HTTP2ToRawGRPCServerCodec en gRPC Swift versiones 1.1.1 y anteriores, permite a atacantes remotos denegar el servicio por medio de la entrega de muchos mensajes pequeños dentro de una sola trama HTTP/2, conllevando a una Recursión no controlada y un consumo de la pila
References
| https://github.com/grpc/grpc-swift/releases | release-notes, third-party-advisory | |
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35274 | mailing-list, third-party-advisory, web | |
| https://github.com/grpc/grpc-swift/security/advisories/GHSA-4rhq-vq24-88gw | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-36154 | advisory | |
| https://github.com/grpc/grpc-swift | package | |
| https://github.com/grpc/grpc-swift/releases/tag/1.2.0 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-36154 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4rhq-vq24-88gw changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-36154 changed 2026-06-17 | Public domain |