{"schemaVersion":3,"id":"CVE-2021-45710","aliases":["SUSE-SU-2022:3996-1","SUSE-SU-2022:4124-1","UBUNTU-CVE-2021-45710","DEBIAN-CVE-2021-45710","openSUSE-SU-2024:11710-1","openSUSE-SU-2024:11714-1","openSUSE-SU-2024:11715-1","openSUSE-SU-2024:11716-1","openSUSE-SU-2024:11717-1","openSUSE-SU-2024:11722-1","openSUSE-SU-2024:11916-1","CGA-4gv4-9q3r-jjx9","GHSA-fg7r-2g4j-5cgr","RUSTSEC-2021-0124"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2021-12-26T21:47:20.000Z","modified":"2024-08-04T04:47:02.072Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.1,"severity":"medium","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01239,"percentile":0.68728,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.07699999999999999,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01162},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01239,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01239,"percentile":0.68728}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01162,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01152,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01239,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01239,"percentile":0.68728}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/362.html"}],"affected":[{"vendor":"chainguard","product":"toda","name":"toda","label":"toda","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/toda","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.3.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.3.0-r0","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"tokio","name":"tokio","label":"tokio","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/tokio","purlType":"cargo","versions":[{"text":"≥ 0.1.14, < 1.8.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.9.0, < 1.13.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.1.14, < 1.8.4 | ≥ 1.9.0, < 1.13.1","eol":null,"hubHref":null},{"vendor":"debian","product":"rust-tokio","name":"rust-tokio","label":"rust-tokio","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rust-tokio","purlType":"deb","versions":[{"text":"< 1.15.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.15.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-tokio","name":"rust-tokio","label":"rust-tokio","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-tokio","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"opensuse","product":"389-ds&distro=openSUSE Leap 15.3","name":"389-ds","label":"389-ds&distro=openSUSE Leap 15.3","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/389-ds&distro=openSUSE Leap 15.3","purlType":"rpm","versions":[{"text":"< 1.4.4.19~git59.136fc84-150300.3.27.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.4.19~git59.136fc84-150300.3.27.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"389-ds&distro=openSUSE Leap 15.4","name":"389-ds","label":"389-ds&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/389-ds&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 2.0.16~git56.d15a0a7-150400.3.15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.16~git56.d15a0a7-150400.3.15.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"greetd&distro=openSUSE Tumbleweed","name":"greetd","label":"greetd&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/greetd&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 0.8.0-2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8.0-2.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"rustscan&distro=openSUSE Tumbleweed","name":"rustscan","label":"rustscan&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/rustscan&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 2.0.1+0-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.1+0-1.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"rustup&distro=openSUSE Tumbleweed","name":"rustup","label":"rustup&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/rustup&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.24.3~git1.0a74fef5-2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.24.3~git1.0a74fef5-2.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"sccache&distro=openSUSE Tumbleweed","name":"sccache","label":"sccache&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/sccache&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 0.2.15~git0.6b6d2f7-8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.15~git0.6b6d2f7-8.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"spotifyd&distro=openSUSE Tumbleweed","name":"spotifyd","label":"spotifyd&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/spotifyd&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 0.3.3-2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.3-2.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"tealdeer&distro=openSUSE Tumbleweed","name":"tealdeer","label":"tealdeer&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/tealdeer&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.5.0+0-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.0+0-1.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"tuigreet&distro=openSUSE Tumbleweed","name":"tuigreet","label":"tuigreet&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/tuigreet&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 0.7.1-3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7.1-3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"389-ds&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","name":"389-ds","label":"389-ds&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/389-ds&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3","purlType":"rpm","versions":[{"text":"< 1.4.4.19~git59.136fc84-150300.3.27.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.4.19~git59.136fc84-150300.3.27.1","eol":null,"hubHref":null},{"vendor":"suse","product":"389-ds&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","name":"389-ds","label":"389-ds&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/389-ds&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","purlType":"rpm","versions":[{"text":"< 2.0.16~git56.d15a0a7-150400.3.15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.16~git56.d15a0a7-150400.3.15.1","eol":null,"hubHref":null},{"vendor":"tokio","product":"tokio","name":"tokio","label":"tokio","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.1.14, < 1.8.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.9.0, < 1.13.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.1.14, < 1.8.4 | ≥ 1.9.0, < 1.13.1","eol":null,"hubHref":"/vendor/tokio/tokio"}],"affectedCount":16,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0124.html","label":"rustsec.org/advisories/RUSTSEC-2021-0124.html","hostname":"rustsec.org","tags":["X Refsource MISC","REPORT","FIX","WEB","Advisory","Patch","Third Party Advisory"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tokio/RUSTSEC-2021-0124.md","label":"raw.githubusercontent.com/rustsec/advisory-db/main/crates/tokio/RUSTSEC-2021-0124.md","hostname":"raw.githubusercontent.com","tags":["X Refsource MISC","REPORT","Advisory","WEB","Third Party Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20223996-1/","label":"www.suse.com/support/update/announcement/2022/suse-su-20223996-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1194119","label":"bugzilla.suse.com/1194119","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1204493","label":"bugzilla.suse.com/1204493","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1204748","label":"bugzilla.suse.com/1204748","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1205146","label":"bugzilla.suse.com/1205146","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2021-45710","label":"www.suse.com/security/cve/CVE-2021-45710","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20224124-1/","label":"www.suse.com/support/update/announcement/2022/suse-su-20224124-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-45710","label":"ubuntu.com/security/CVE-2021-45710","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-45710","label":"www.cve.org/CVERecord?id=CVE-2021-45710","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-45710","label":"security-tracker.debian.org/tracker/CVE-2021-45710","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45710","label":"nvd.nist.gov/vuln/detail/CVE-2021-45710","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/tokio-rs/tokio/issues/4225","label":"github.com/tokio-rs/tokio/issues/4225","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://github.com/tokio-rs/tokio","label":"github.com/tokio-rs/tokio","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://crates.io/crates/tokio","label":"crates.io/crates/tokio","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:0294-1","OPENSUSE-SU-2024:11720-1","OPENSUSE-SU-2024:11729-1","SUSE-SU-2022:3949-1","SUSE-SU-2022:4073-1","SUSE-SU-2023:3526-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:0294-1","OPENSUSE-SU-2024:11720-1","OPENSUSE-SU-2024:11729-1","SUSE-SU-2022:3949-1","SUSE-SU-2022:4073-1","SUSE-SU-2023:3526-1"]},"timeline":[{"kind":"published","date":"2021-12-26T21:47:20.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T04:47:02.072Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:34:18.384Z","stale":false,"partial":false}}