Advisory Database
  • Advisories
  • Dependency Scanning
  1. swift
  2. ›
  3. github.com/grpc/grpc-swift
  4. ›
  5. CVE-2021-36155

CVE-2021-36155: Uncontrolled Resource Consumption in LengthPrefixedMessageReader

June 9, 2023

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.

References

  • bugs.chromium.org/p/oss-fuzz/issues/detail?id=35303
  • github.com/advisories/GHSA-rxmj-hg9v-vp3p
  • github.com/grpc/grpc-swift
  • github.com/grpc/grpc-swift/releases/tag/1.2.0
  • github.com/grpc/grpc-swift/security/advisories/GHSA-rxmj-hg9v-vp3p
  • nvd.nist.gov/vuln/detail/CVE-2021-36155

Detect and mitigate CVE-2021-36155 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.0

Fixed versions

  • 1.2.0

Solution

Upgrade to version 1.2.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

swift/github.com/grpc/grpc-swift/CVE-2021-36155.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.