CVE-2021-36155
HIGH 7.5CVSS 3.1Uncontrolled Resource Consumption in LengthPrefixedMessageReader
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.
- Published
- 9 Jul 2021
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-120CWE-770
- Also known as
- GHSA-rxmj-hg9v-vp3p
- Sources
- NVDJSONOSV GHSA-rxmj-hg9v-vp3pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | grpc_swiftcpe:2.3:a:linuxfoundation:grpc_swift:1.0.0:*:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | linuxfoundation | grpc_swiftcpe:2.3:a:linuxfoundation:grpc_swift:1.1.0:*:*:*:*:*:*:* |
= 1.1.0 | |
| NVD | linuxfoundation | grpc_swiftcpe:2.3:a:linuxfoundation:grpc_swift:1.1.1:*:*:*:*:*:*:* |
= 1.1.1 | |
| OSV | SwiftURL | github.com/grpc/grpc-swift | < 1.2.0 | 1.2.0 |
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35303 · Mailing List, Third Party Advisory, WEB
- https://github.com/grpc/grpc-swift/releases · Release Notes, Third Party Advisory
- https://github.com/grpc/grpc-swift/security/advisories/GHSA-rxmj-hg9v-vp3p · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-36155 · ADVISORY
- https://github.com/grpc/grpc-swift · PACKAGE
- https://github.com/grpc/grpc-swift/releases/tag/1.2.0 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 9 Jul 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Jun 2023)