{"id":"CVE-2021-36155","published":"2021-07-09T11:11:10Z","modified":"2024-08-04T00:47:43Z","title":"LengthPrefixedMessageReader in gRPC Swift 1.1.0 and earlier allocates buffers of arbitrary length, which allows remote…","vendor":null,"product":null,"tier":"tail","description":{"text":"LengthPrefixedMessageReader in gRPC Swift 1.1.0 and earlier allocates buffers of arbitrary length, which allows remote attackers to cause uncontrolled resource consumption and deny service.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02082,"percentile":0.82005,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/grpc/grpc-swift/releases","tags":["x_refsource_MISC"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35303","tags":["x_refsource_MISC"]},{"url":"https://github.com/grpc/grpc-swift/security/advisories/GHSA-rxmj-hg9v-vp3p","tags":["x_refsource_MISC"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":16.4}]},"affected":[{"ecosystem":"SwiftURL","package":"github.com/grpc/grpc-swift","vulnerableRanges":["<1.2.0"],"patched":["1.2.0"],"from":["GHSA-rxmj-hg9v-vp3p"],"provenance":"source"}],"summary":{"text":"The flaw is in the LengthPrefixedMessageReader component of gRPC Swift, in version 1.1.0 and earlier. The reader allocates memory buffers sized by an untrusted length value, without bounding them. An attacker able to send gRPC messages to a vulnerable service can cause uncontrolled resource consumption, exhausting memory and denying service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:37Z"},"euvd":{"id":"EUVD-2023-1886","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-36153","published":"2021-07-09","fixed":"1.2.0","kev":false},{"cve":"CVE-2021-36154","published":"2021-07-09","fixed":"1.2.0","kev":false},{"cve":"CVE-2021-36155","published":"2021-07-09","fixed":"1.2.0","kev":false},{"cve":"CVE-2022-24777","published":"2022-03-25","fixed":"1.7.2","kev":false,"link":{"from":"CVE-2021-36155","to":"CVE-2022-24777","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"SwiftURL:github.com/grpc/grpc-swift","fromFixed":"1.2.0","toFixed":"1.7.2","daysApart":259}]}}],"package":"SwiftURL:github.com/grpc/grpc-swift"}}