Skip to content
Heist/ feed
Back to feed
Medium

rust-tonic — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-47609

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.

Products
rust-tonic
Affected versions
0.10.2+dfsg-12, 0.12.3+dfsg-4, 0.12.3+dfsg-5, 0.12.3+dfsg-5build1, 0.12.3+dfsg-6, 0.14.5+dfsg-1, 0.14.5+dfsg-2, 0.14.5+dfsg-4
Fixed versions
Not specified
CVEs
CVE-2024-47609
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:14 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-47609

core-osv · Original source

Published 1 Oct 2024, 21:15 UTC

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.

osv:UBUNTU-CVE-2024-47609

rust-tonic

Fixed versions: Not specified

rust-tonic

Fixed versions: Not specified

rust-tonic

Fixed versions: Not specified

Complete source record
{
  "id": "53719cfb98749f96895f21252c8653f760a489207a3a972036c844c80c54fa22",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-47609",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-47609",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2024-47609",
    "products": [
      {
        "name": {
          "value": "rust-tonic",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.10.2+dfsg-12",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.12.3+dfsg-4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-tonic",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.12.3+dfsg-6",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.14.5+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.14.5+dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.14.5+dfsg-4",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-tonic",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.12.3+dfsg-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.12.3+dfsg-5",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.12.3+dfsg-5build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.12.3+dfsg-6",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2024-47609",
      "aliases": [
        "UBUNTU-CVE-2024-47609"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-tonic",
            "purl": "pkg:deb/ubuntu/rust-tonic?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.10.2+dfsg-12",
            "0.12.3+dfsg-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47609.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-tonic-build-dev",
                "binary_version": "0.12.3+dfsg-4"
              },
              {
                "binary_name": "librust-tonic-dev",
                "binary_version": "0.12.3+dfsg-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-tonic",
            "purl": "pkg:deb/ubuntu/rust-tonic?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.12.3+dfsg-6",
            "0.14.5+dfsg-1",
            "0.14.5+dfsg-2",
            "0.14.5+dfsg-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47609.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-tonic-build-dev",
                "binary_version": "0.14.5+dfsg-4"
              },
              {
                "binary_name": "librust-tonic-dev",
                "binary_version": "0.14.5+dfsg-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-tonic",
            "purl": "pkg:deb/ubuntu/rust-tonic?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.12.3+dfsg-4",
            "0.12.3+dfsg-5",
            "0.12.3+dfsg-5build1",
            "0.12.3+dfsg-6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47609.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-tonic-build-dev",
                "binary_version": "0.12.3+dfsg-6"
              },
              {
                "binary_name": "librust-tonic-dev",
                "binary_version": "0.12.3+dfsg-6"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:45.336482387Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-47609"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-47609",
        "https://www.cve.org/CVERecord?id=CVE-2024-47609",
        "https://github.com/hyperium/tonic/security/advisories/GHSA-4jwc-w2hc-78qv",
        "https://github.com/hyperium/tonic/issues/1897",
        "https://rustsec.org/advisories/RUSTSEC-2024-0376.html",
        "https://github.com/hyperium/tonic/commit/a4472a86f3290e60c7c01348b7e6a8164d6e7e48"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-47609",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356151,
  "published_at": "2024-10-01T21:15:00+00:00"
}