7.5high
Denial of Service via reachable assertion in grpc-swift
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.18% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-r6ww-5963-7r95
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| grpc grpc-swift | < 1.7.2 | CVE List |
| github.com/grpc/grpc-swift (SwiftURL) | before 1.7.2 | GitHub Advisory Database |
| linuxfoundation grpc_swift | before 1.7.2 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
A grpc-swift server is vulnerable to a denial of service attack via a reachable assertion. This was 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.
The issue was discovered by automated fuzz testing and is resolved by fixing the relevant state handling code.
NVD (es)
grpc-swift es la implementación en lenguaje Swift de gRPC, un framework de llamadas a procedimientos remotos (RPC). En versiones anteriores a 1.7.2, un servidor grpc-swift es vulnerable a un ataque de denegación de servicio por medio de una aserción alcanzable. Esto es debido a una lógica incorrecta cuando son manejadas las tramas GOAWAY. El ataque es de bajo esfuerzo: son necesarios muy pocos recursos para construir y enviar la secuencia de tramas requerida. El impacto en la disponibilidad es alto, ya que el servidor será bloqueado, dejando caer todas las conexiones y peticiones en vuelo. Este problema ha sido corregido en la versión 1.7.2. Actualmente no se presentan medidas de mitigación
References
| https://github.com/grpc/grpc-swift/security/advisories/GHSA-r6ww-5963-7r95 | third-party-advisory, web | |
| https://github.com/grpc/grpc-swift/commit/858f977f2a51fca2292f384cf7a108dc2e73a3bd | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-24777 | advisory | |
| https://github.com/grpc/grpc-swift | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-24777 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r6ww-5963-7r95 changed 2024-02-09 | CC-BY-4.0 |
| NVD | CVE-2022-24777 changed 2026-06-17 | Public domain |