Vulnerability · Published Oct 1, 2024 · Assigned by GitHub_M
CVE-2024-47609Remotely exploitable DoS in Tonic `<=v0.12.2`
Medium 6.9
In plain English
A medium-severity security flaw in tonic from hyperium. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities).
Official description
Tonic is a native gRPC client & server implementation with async/await support. When using tonic::transport::Server there is a remote DoS attack that can cause the server to exit cleanly on accepting a TCP/TLS stream. This can be triggered by causing the accept call to error out with errors that were not covered correctly causing the accept loop to exit. Upgrading to tonic 0.12.3 and above contains the fix.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:25.10 | rust-tonic | no fix listed | UBUNTU-CVE-2024-47609 |
| Ubuntu:26.04:LTS | rust-tonic | no fix listed | UBUNTU-CVE-2024-47609 |
| Ubuntu:26.10 | rust-tonic | no fix listed | UBUNTU-CVE-2024-47609 |
Affected products (as reported)
Weakness: CWE-755 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/U:Green
References
- https://github.com/hyperium/tonic/security/advisories/GHSA-4jwc-w2hc-78qv x_refsource_CONFIRM
- https://github.com/hyperium/tonic/issues/1897 x_refsource_MISC
- https://github.com/hyperium/tonic/commit/a4472a86f3290e60c7c01348b7e6a8164d6e7e48 x_refsource_MISC