~ / search / GHSA-4jwc-w2hc-78qv

GHSA-4jwc-w2hc-78qv

Tonic has remotely exploitable denial of service vulnerability

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-47609

Packages

EcosystemPackageAffectedFixed in
crates.io tonic >= 0.12.2, < 0.12.3 0.12.3

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact 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 via causing the accept call to error out with errors there were not covered correctly causing the accept loop to exit. More information can be found [here](https://github.com/hyperium/tonic/issues/1897) ### Patches Upgrading to tonic `0.12.3` and above contains the fix. ### Workarounds A custom accept loop is a possible workaround.

References

External links from the advisory. They lead to third-party sites.