tonic
Affected
- introduced
0.12.2, fixed0.12.3(semver)
Fixed versions
0.12.3
Fix
- Fixed version
0.12.3cargo update -p tonic --precise 0.12.3
Advisory
Also known as: CVE-2024-47609, RUSTSEC-2024-0376
Tonic has remotely exploitable denial of service vulnerability
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
Patches
Upgrading to tonic 0.12.3 and above contains the fix.
Workarounds
A custom accept loop is a possible workaround.
Medium Basis: The source's own band: MODERATE
0.12.2, fixed 0.12.3 (semver)0.12.3
0.12.3cargo update -p tonic --precise 0.12.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0