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

CVE-2021-36154: Uncontrolled Recursion in HTTP2ToRawGRPCServerCodec

May 22, 2023

Affected gRPC Swift servers are vulnerable to uncontrolled recursion and stack consumption when parsing certain payloads. This may lead to a denial of service.

References

  • bugs.chromium.org/p/oss-fuzz/issues/detail?id=35274
  • github.com/advisories/GHSA-4rhq-vq24-88gw
  • github.com/grpc/grpc-swift
  • github.com/grpc/grpc-swift/releases/tag/1.2.0
  • github.com/grpc/grpc-swift/security/advisories/GHSA-4rhq-vq24-88gw
  • nvd.nist.gov/vuln/detail/CVE-2021-36154

Detect and mitigate CVE-2021-36154 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.

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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