CVE-2022-24777
JSON

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 packageVersionsReported by
grpc grpc-swift< 1.7.2CVE List
github.com/grpc/grpc-swift (SwiftURL)before 1.7.2GitHub Advisory Database
linuxfoundation grpc_swiftbefore 1.7.2NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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

CWE-617

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

Sources

SourceRecordLicence
CVE ListCVE-2022-24777 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-r6ww-5963-7r95 changed 2024-02-09CC-BY-4.0
NVDCVE-2022-24777 changed 2026-06-17Public domain