CVE-2021-36155
JSON

7.5high

Uncontrolled Resource Consumption in LengthPrefixedMessageReader

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
2.08% (higher than 82% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-rxmj-hg9v-vp3p

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
github.com/grpc/grpc-swift (SwiftURL)before 1.2.0GitHub Advisory Database
linuxfoundation grpc_swift1.0.0, 1.1.0, 1.1.1NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Impact

Affected 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.

Patches

The problem has been fixed in 1.2.0.

Workarounds

No workaround is available. Users must upgrade.

NVD (es)

La función LengthPrefixedMessageReader en gRPC Swift versiones 1.1.0 y anteriores asigna búferes de longitud arbitraria, lo que permite a atacantes remotos causar un consumo no controlado de recursos y denegar el servicio

References

Sources

SourceRecordLicence
CVE ListCVE-2021-36155 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-rxmj-hg9v-vp3p changed 2026-07-08CC-BY-4.0
NVDCVE-2021-36155 changed 2026-06-17Public domain