{"affected":[{"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-rxmj-hg9v-vp3p/GHSA-rxmj-hg9v-vp3p.json"},"package":{"ecosystem":"SwiftURL","name":"github.com/grpc/grpc-swift","purl":"pkg:swift/github.com/grpc/grpc-swift"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.2.0"}],"type":"SEMVER"}]}],"aliases":["CVE-2021-36155"],"database_specific":{"cwe_ids":["CWE-120","CWE-770"],"github_reviewed":true,"github_reviewed_at":"2023-06-09T19:32:11Z","nvd_published_at":"2021-07-09T12:15:00Z","severity":"HIGH"},"details":"### Impact\n\nAffected gRPC Swift clients and servers are vulnerable to uncontrolled resource consumption attacks. Excessive memory may be allocated when parsing messages. This can 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.","id":"GHSA-rxmj-hg9v-vp3p","modified":"2026-07-08T06:29:59.049314536Z","published":"2023-06-09T19:32:11Z","references":[{"type":"WEB","url":"https://github.com/grpc/grpc-swift/security/advisories/GHSA-rxmj-hg9v-vp3p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36155"},{"type":"WEB","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35303"},{"type":"PACKAGE","url":"https://github.com/grpc/grpc-swift"},{"type":"WEB","url":"https://github.com/grpc/grpc-swift/releases/tag/1.2.0"}],"schema_version":"1.9.0","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"}],"summary":"Uncontrolled Resource Consumption in LengthPrefixedMessageReader"}