{"id":"CVE-2021-36154","aliases":["EUVD-2023-1469","GHSA-4rhq-vq24-88gw"],"status":"published","title":"Uncontrolled Recursion in HTTP2ToRawGRPCServerCodec","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.02082,"percentile":0.81701,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-674"],"published":"2021-07-09T11:02:36Z","modified":"2026-10-20T10:54:47Z","fixes":[{"ecosystem":"SwiftURL","package":"github.com/grpc/grpc-swift","fixed_in":["1.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"SwiftURL","package":"github.com/grpc/grpc-swift","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}]},{"source":"osv","ecosystem":"SwiftURL","package":"github.com/grpc/grpc-swift","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}]}],"products":[{"vendor":"linuxfoundation","product":"grpc_swift"}],"references":[{"url":"https://github.com/grpc/grpc-swift/releases","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35274","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://github.com/grpc/grpc-swift/security/advisories/GHSA-4rhq-vq24-88gw","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36154","tags":["advisory"]},{"url":"https://github.com/grpc/grpc-swift/releases/tag/1.2.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4rhq-vq24-88gw"},{"url":"https://github.com/grpc/grpc-swift","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-36154","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.","status":"published","published":"2021-07-09T11:02:36Z","modified":"2024-08-04T00:47:43.804Z","updated_at":"2026-11-02T14:33:05.989686Z"}],"euvd":[{"id":"EUVD-2023-1469","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.","status":"published","published":"2021-07-09T11:02:36Z","modified":"2024-08-04T00:47:43Z","updated_at":"2026-11-03T03:24:29.877227Z"}],"ghsa":[{"id":"GHSA-4rhq-vq24-88gw","title":"Uncontrolled Recursion in HTTP2ToRawGRPCServerCodec","description":"### Impact\n\nAffected gRPC Swift servers are vulnerable to uncontrolled recursion and stack consumption when parsing certain payloads. This may lead to a denial of service.\n\n### Patches\n\nThe problem has been fixed in 1.2.0.\n\n### Workarounds\n\nNo workaround is available. Users must upgrade.","status":"published","published":"2023-05-22T20:29:44Z","modified":"2023-06-19T16:45:07Z","cwes":["CWE-674"],"updated_at":"2026-11-02T14:36:55.184601Z"}],"nvd":[{"id":"CVE-2021-36154","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.","status":"published","published":"2021-07-09T12:15:08.097Z","modified":"2026-06-17T03:58:25.503Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T14:06:55.259633Z"}],"osv":[{"id":"CVE-2021-36154","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.","status":"published","published":"2021-07-09T12:15:08.097Z","modified":"2026-10-20T10:54:47.855622898Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:20.434873Z"},{"id":"GHSA-4rhq-vq24-88gw","title":"Uncontrolled Recursion in HTTP2ToRawGRPCServerCodec","description":"### Impact\n\nAffected gRPC Swift servers are vulnerable to uncontrolled recursion and stack consumption when parsing certain payloads. This may lead to a denial of service.\n\n### Patches\n\nThe problem has been fixed in 1.2.0.\n\n### Workarounds\n\nNo workaround is available. Users must upgrade.","status":"published","published":"2023-05-22T20:29:44Z","modified":"2026-07-08T06:27:56.395966732Z","cwes":["CWE-674"],"updated_at":"2026-11-02T15:46:37.528068Z"}]}}
