ubuntu-cve-2021-45710
Vulnerability from osv_ubuntu
Published
2021-12-27 00:15
Modified
2026-05-20 14:53
Summary
Details

An issue was discovered in the tokio crate before 1.8.4, and 1.9.x through 1.13.x before 1.13.1, for Rust. In certain circumstances involving a closed oneshot channel, there is a data race and memory corruption.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "librust-tokio+async-await-preview-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+bytes-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+codec-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+default-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+fs-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+io-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+mio-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+num-cpus-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+reactor-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+rt-full-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tcp-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+timer-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-async-await-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-codec-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-current-thread-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-executor-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-fs-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-io-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-reactor-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-tcp-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-threadpool-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-timer-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-udp-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+tokio-uds-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+udp-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio+uds-dev",
            "binary_version": "0.1.14-2build1"
          },
          {
            "binary_name": "librust-tokio-dev",
            "binary_version": "0.1.14-2build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "rust-tokio",
        "purl": "pkg:deb/ubuntu/rust-tokio@0.1.14-2build1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.1.14-2",
        "0.1.14-2build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "librust-tokio-dev",
            "binary_version": "1.15.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "rust-tokio",
        "purl": "pkg:deb/ubuntu/rust-tokio@1.15.0-1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.1.14-2build1",
        "1.15.0-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "librust-tokio-dev",
            "binary_version": "1.35.1-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "rust-tokio",
        "purl": "pkg:deb/ubuntu/rust-tokio@1.35.1-1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.29.1-1",
        "1.33.0-1",
        "1.35.1-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "librust-tokio-dev",
            "binary_version": "1.47.1-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "rust-tokio",
        "purl": "pkg:deb/ubuntu/rust-tokio@1.47.1-2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.43.0-1",
        "1.43.1-1",
        "1.47.1-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "librust-tokio-dev",
            "binary_version": "1.48.0-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "rust-tokio",
        "purl": "pkg:deb/ubuntu/rust-tokio@1.48.0-2?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.47.1-2",
        "1.48.0-2"
      ]
    }
  ],
  "aliases": [],
  "details": "An issue was discovered in the tokio crate before 1.8.4, and 1.9.x through 1.13.x before 1.13.1, for Rust. In certain circumstances involving a closed oneshot channel, there is a data race and memory corruption.",
  "id": "UBUNTU-CVE-2021-45710",
  "modified": "2026-05-20T14:53:39Z",
  "published": "2021-12-27T00:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-45710"
    },
    {
      "type": "REPORT",
      "url": "https://rustsec.org/advisories/RUSTSEC-2021-0124.html"
    },
    {
      "type": "REPORT",
      "url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tokio/RUSTSEC-2021-0124.md"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-45710"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-45710"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…