CVE-2021-36154
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
github.com/grpc/grpc-swift (SwiftURL)before 1.2.0GitHub Advisory Database
linuxfoundation grpc_swift1.0.0, 1.1.0, 1.1.1NVD

All scores

GitHubmedium rating
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-36154 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-4rhq-vq24-88gw changed 2026-07-08CC-BY-4.0
NVDCVE-2021-36154 changed 2026-06-17Public domain