Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. tonic
  4. ›
  5. CVE-2024-47609

CVE-2024-47609: Tonic has remotely exploitable denial of service vulnerability

October 1, 2024 (updated October 2, 2024)

note: this only affects v0.12.0 - v0.12.2

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

References

  • github.com/advisories/GHSA-4jwc-w2hc-78qv
  • github.com/hyperium/tonic
  • github.com/hyperium/tonic/commit/a4472a86f3290e60c7c01348b7e6a8164d6e7e48
  • github.com/hyperium/tonic/issues/1897
  • github.com/hyperium/tonic/security/advisories/GHSA-4jwc-w2hc-78qv
  • nvd.nist.gov/vuln/detail/CVE-2024-47609
  • rustsec.org/advisories/RUSTSEC-2024-0376.html

Code Behaviors & Features

Detect and mitigate CVE-2024-47609 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.12.0 before 0.12.3

Fixed versions

  • 0.12.3

Solution

Upgrade to version 0.12.3 or above.

Impact

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-755: Improper Handling of Exceptional Conditions

Source file

cargo/tonic/CVE-2024-47609.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.