Denial of Service via reachable assertion in grpc-swift
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-617.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| grpc | grpc-swift | before 1.7.2 | 1.7.2 | Patch available | CNA |
| — | github.com/grpc/grpc-swift (SwiftURL) | before 1.7.2 | 1.7.2 | Patch available | GHSA-r6ww-5963-7r95 |
- grpc-swift Vendorgrpc Affected before 1.7.2 Fixed in 1.7.2 Patch available CNA
- github.com/grpc/grpc-swift (SwiftURL) Vendor— Affected before 1.7.2 Fixed in 1.7.2 Patch available GHSA-r6ww-5963-7r95
Remediation
- Fix · CNA grpc-swift (grpc) Fixed in 1.7.2
- Fix · GHSA-r6ww-5963-7r95 github.com/grpc/grpc-swift (SwiftURL) Fixed in 1.7.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24777
- 2026-10-03 Alias added: GHSA-r6ww-5963-7r95
References
More grpc vulnerabilities
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2026-25614 gRPC-Go has an authorization bypass via missing leading slash in :path CVSS 3.1CRITICAL 9.1
- TI-2020-06285 Prototype pollution in grpc CVSS 3.1CRITICAL 9.8
- TI-2017-05916 Google gRPC before 2017-03-29 has an out-of-bounds write caused by a heap-based… CVSS 3.0CRITICAL 9.8
- TI-2017-05476 Google gRPC before 2017-02-22 has an out-of-bounds write caused by a heap-based buffer… CVSS 3.0CRITICAL 9.8
- TI-2017-06843 Google gRPC before 2017-04-05 has an out-of-bounds write caused by a heap-based buffer… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2022-24777 · CVE Program
- CVE-2022-24777 · NVD
- FIRST EPSS
- GHSA-r6ww-5963-7r95 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences