CVE-2021-45710

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.

Published: 2021-12-27 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2021-45710 is rated Moderate Risk (55.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.15%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2021-45710

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.19% 1.15% +0.96%
2 2026-01-23 0.15% 0.19% +0.05%
3 2026-01-01 0.15%

Full EPSS history (14 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2021-45710

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.1 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.2 5.9 [email protected]
5.1 2.0 MEDIUM
AV:N/AC:H/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:H)
Exploitation requires uncommon or highly specific conditions.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
4.9 6.4 [email protected]

Weakness enumeration for CVE-2021-45710

GitHub Security Advisory for CVE-2021-45710

OS Trackers for CVE-2021-45710

vendor priority summary link
debian not yet assigned CVE-2021-45710 not yet assigned priority: Debian including 1 source packages (rust-tokio), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2021-45710
redhat low https://access.redhat.com/security/cve/CVE-2021-45710
suse low CVE-2021-45710 severity low: SUSE including 99 source package names (2.0-17.42:389-ds-2.0.16~git56.d15a0a7-150400.3.15.1, 2.0-17.42:lib389-2.0.16~git56.d15a0a7-150400.3.15.1, …), 277 product×package rows across 58 product lines (Container suse/389-ds, SUSE CaaS Platform 4.0, … (58 product lines)): Will Not Fix 110, Fixed 102, Known Not Affected 65. https://www.suse.com/security/cve/CVE-2021-45710/
ubuntu medium CVE-2021-45710 medium priority: Ubuntu including 1 source packages (rust-tokio), 15 status rows across 15 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 9, needed 4, DNE 1, needs-triage 1. https://ubuntu.com/security/CVE-2021-45710

Affected software / configurations for CVE-2021-45710

Vendor Product Version Raw CPE
tokio tokio >= 0.1.14, < 1.8.4 cpe:2.3:a:tokio:tokio:*:*:*:*:*:rust:*:*
tokio tokio >= 1.9.0, < 1.13.1 cpe:2.3:a:tokio:tokio:*:*:*:*:*:rust:*:*

References for CVE-2021-45710

cvelogic Threat Intelligence