Tonic · Tonic · CVE-2024-47609
**Name of the Vulnerable Software and Affected Versions**
Tonic versions 0.12.0 through 0.12.2
**Description**
The issue is a remote DoS attack that can cause the server to exit cleanly when using `tonic::transport::Server` and accepting a TCP/TLS stream. This can be triggered by causing the accept call to error out with errors that were not covered correctly, leading to the accept loop exiting.
**Recommendations**
For versions 0.12.0 through 0.12.2, upgrade to tonic 0.12.3 or above to resolve the issue.
As a temporary workaround for affected versions, consider implementing a custom accept loop to minimize the risk of exploitation.