CVE Vulnerabilities

CVE-2021-36154

Uncontrolled Recursion

Published: Jul 09, 2021 | Modified: Jul 13, 2021
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

Name Vendor Start Version End Version
Grpc_swift Linuxfoundation 1.0.0 (including) 1.0.0 (including)
Grpc_swift Linuxfoundation 1.1.0 (including) 1.1.0 (including)
Grpc_swift Linuxfoundation 1.1.1 (including) 1.1.1 (including)

Potential Mitigations

References