Vulnerability in Tokio

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.

Vulnerability class: Race Condition

EPSS: 0.008 (54.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Tokio — versions 1.8.0
  • N/a — versions n/a

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2021-38191?
CVE-2021-38191 is a medium-severity vulnerability in Tokio, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). CVSS score: 5.9/10. Published 2021-08-08.
How severe is CVE-2021-38191?
Medium severity. CVSS v3 base score is 5.9 out of 10.