GitHub Advisoryadvisory · crates.io

GHSA-4jwc-w2hc-78qv Tonic has remotely exploitable denial of service vulnerability

MEDIUM Published 2024-10-01 Modified 2025-09-16 Official page ↗
Aliases
CVE-2024-47609
Ecosystem
crates.io
Packages
tonic
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-755
Reviewed
2024-10-01

Affected packages

• crates.io tonic: >= 0.12.2, < 0.12.3 → fixed in 0.12.3

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-47609 Tonic is a native gRPC client & server implementation with async/await support. vulnerability

Weakness · CWE (1)

  • CWE-755 Improper Handling of Exceptional Conditions weakness

References