{"id":"RUSTSEC-2024-0376","summary":"Remotely exploitable Denial of Service in Tonic","details":"## Impact\n\nWhen 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. \n\nMore information can be found [here](https://github.com/hyperium/tonic/issues/1897)\n\n## Patches\n\nUpgrading to tonic `0.12.3` and above contains the fix. \n\n## Workarounds\n\nA custom accept loop is a possible workaround.","aliases":["CVE-2024-47609","GHSA-4jwc-w2hc-78qv"],"modified":"2025-09-11T07:02:22Z","published":"2024-10-01T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/tonic"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2024-0376.html"},{"type":"ADVISORY","url":"https://github.com/hyperium/tonic/security/advisories/GHSA-4jwc-w2hc-78qv"}],"affected":[{"package":{"name":"tonic","ecosystem":"crates.io","purl":"pkg:cargo/tonic"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.12.2"},{"fixed":"0.12.3"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"os":[],"functions":[]}},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0376.json","informational":null,"categories":["denial-of-service"],"cvss":null}}],"schema_version":"1.7.3"}