High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-36155
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:49 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-36155
Complete source record
{
"id": "ec45249ca653c371bfeded3b89348b0c95a6e0cb4a79832eae57c7bf9356b4c9",
"url": "https://osv.dev/vulnerability/CVE-2021-36155",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-36155",
"summary": "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.",
"evidence": "osv:CVE-2021-36155",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-36155",
"aliases": [
"CVE-2021-36155",
"GHSA-rxmj-hg9v-vp3p"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/grpc/grpc-swift",
"type": "GIT",
"events": [
{
"introduced": "9e464a75079928366aa7041769a271fac89271bf"
},
{
"last_affected": "276f09147d914b6463f3ccdd39f51f7e0dd15aaa"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:linuxfoundation:grpc_swift:1.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.0"
},
{
"last_affected": "1.0.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:linuxfoundation:grpc_swift:1.1.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.1.0"
},
{
"last_affected": "1.1.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:linuxfoundation:grpc_swift:1.1.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.1.1"
},
{
"last_affected": "1.1.1"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.0.0",
"1.1.0",
"1.1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36155.json"
}
}
],
"modified": "2026-10-20T10:54:47.857071840Z",
"provider": "osv",
"references": [
"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35303",
"https://github.com/grpc/grpc-swift/releases",
"https://github.com/grpc/grpc-swift/security/advisories/GHSA-rxmj-hg9v-vp3p"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-36155",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386147,
"published_at": "2021-07-09T12:15:08.127+00:00"
}