{"id":"CVE-2021-36154","aliases":["CVE-2021-36154","GHSA-4rhq-vq24-88gw"],"related":[],"kind":"vulnerability","state":"published","title":"Uncontrolled Recursion in HTTP2ToRawGRPCServerCodec","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-07-09T11:02:36.000Z","modified":"2026-07-08T06:27:56.395Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.2.0"}],"ecosystem":"SwiftURL","package":"github.com/grpc/grpc-swift","purl":"pkg:swift/github.com/grpc/grpc-swift","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.1.0"},{"status":"affected","version":"1.1.1"}],"vendor":"linuxfoundation","product":"grpc_swift","cpe":"cpe:2.3:a:linuxfoundation:grpc_swift:1.0.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/grpc/grpc-swift/releases","tags":["release-notes","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35274","tags":["mailing-list","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/grpc/grpc-swift/security/advisories/GHSA-4rhq-vq24-88gw","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36154","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/grpc/grpc-swift","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/grpc/grpc-swift/releases/tag/1.2.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-36154","url":"https://www.cve.org/CVERecord?id=CVE-2021-36154","licence":"CVE Terms of Use","modified":"2024-08-04T00:47:43.804Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4rhq-vq24-88gw","url":"https://github.com/advisories/GHSA-4rhq-vq24-88gw","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:56.395Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-36154","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36154","licence":"Public domain","modified":"2026-06-17T03:58:25.503Z"}],"updatedAt":"2026-11-25T22:58:02.489Z","epss":{"score":0.02082,"percentile":0.82085,"date":"2026-12-01T12:00:22.000Z"}}