CVE-2021-38191
Rust packages · CVE-2021-38191
An issue was discovered in the tokio crate before 1.8.1 for Rust. Upon a JoinHandle::abort, a Task may be dropped in the wrong thread.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.833% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:31.549Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:40.336Z | OSV |
| affected | verified | 2026-11-19T12:56:08.215Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:08.215Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0072.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tokio/RUSTSEC-2021-0072.md",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T01:37:16.274Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-2grh-hm3w-w7hv",
"aliases": [
"CVE-2021-38191",
"RUSTSEC-2021-0072"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.8.0"
},
{
"fixed": "1.8.1"
}
]
}
],
"package": {
"name": "tokio",
"purl": "pkg:cargo/tokio",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-2grh-hm3w-w7hv/GHSA-2grh-hm3w-w7hv.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.7.0"
},
{
"fixed": "1.7.2"
}
]
}
],
"package": {
"name": "tokio",
"purl": "pkg:cargo/tokio",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-2grh-hm3w-w7hv/GHSA-2grh-hm3w-w7hv.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.6.0"
},
{
"fixed": "1.6.3"
}
]
}
],
"package": {
"name": "tokio",
"purl": "pkg:cargo/tokio",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-2grh-hm3w-w7hv/GHSA-2grh-hm3w-w7hv.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.3.0"
},
{
"fixed": "1.5.1"
}
]
}
],
"package": {
"name": "tokio",
"purl": "pkg:cargo/tokio",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-2grh-hm3w-w7hv/GHSA-2grh-hm3w-w7hv.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-38191",
"type": "ADVISORY"
},
{
"url": "https://github.com/tokio-rs/tokio/issues/3929",
"type": "WEB"
},
{
"url": "https://github.com/tokio-rs/tokio",
"type": "PACKAGE"
},
{
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tokio/RUSTSEC-2021-0072.md",
"type": "WEB"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0072.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-362",
"CWE-366"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-08-08T06:15:00Z",
"github_reviewed_at": "2021-08-18T21:30:23Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "RUSTSEC-2021-0072",
"aliases": [
"CVE-2021-38191",
"GHSA-2grh-hm3w-w7hv"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.3.0"
},
{
"fixed": "1.5.1"
},
{
"introduced": "1.6.0"
},
{
"fixed": "1.6.3"
},
{
"introduced": "1.7.0"
},
{
"fixed": "1.7.2"
},
{
"introduced": "1.8.0"
},
{
"fixed": "1.8.1"
}
]
}
],
"package": {
"name": "tokio",
"purl": "pkg:cargo/tokio",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"cvss": null,
"source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0072.json",
"categories": [
"memory-corruption"
],
"informational": null
},
"ecosystem_specific": {
"affects": {
"os": [],
"arch": [],
"functions": [
"tokio::task::JoinHandle::abort"
]
},
"affected_functions": null
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://crates.io/crates/tokio",
"type": "PACKAGE"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0072.html",
"type": "ADVISORY"
},
{
"url": "https://github.com/tokio-rs/tokio/issues/3929",
"type": "REPORT"
}
],
"relatedGitRanges": [],
"database_specific": {
"license": "CC0-1.0"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | crates.io / package | tokio | Not a distribution channel | 1.8.1 | Official record |
| ecosystem-boundary | crates.io / package | tokio | Not a distribution channel | 1.7.2 | Official record |
| ecosystem-boundary | crates.io / package | tokio | Not a distribution channel | 1.6.3 | Official record |
| ecosystem-boundary | crates.io / package | tokio | Not a distribution channel | 1.5.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:40.336ZArchived source JSON
Source publication: 2021-08-25T20:55:51.000Z
Source modification: 2023-11-08T04:06:25.982ZDocument fingerprint
b013548e7a4bc31fdc535b6827a67a3b526e4a0331f75df0aac64e556527099a - OSVConsulted: 2026-11-19T12:52:40.336ZArchived source JSON
Source publication: 2021-07-07T12:00:00.000Z
Source modification: 2023-11-08T04:06:25.982ZDocument fingerprint
b013548e7a4bc31fdc535b6827a67a3b526e4a0331f75df0aac64e556527099a - CVE ProgramConsulted: 2026-11-19T12:56:08.215ZArchived source JSON
Source publication: 2021-08-08T05:09:27.000Z
Source modification: 2024-08-04T01:37:16.274ZDocument fingerprint
b67a45fc2c0a09d593f0ed4f3e37efb225d04dc686870d7bdbb67aef708d05ef - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:31.549ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3868b84f1e1acd503d18b7d8039c9c0af96978ffa639a1d9a6683f7f07e072a5
Official status history
- UNKNOWN → PUBLISHED · · evidence