{"cve":"CVE-2020-35912","nvd":{"published":"2020-12-31T09:15:15.520","modified":"2026-06-17T03:14:35.487","status":"Modified","description":"An issue was discovered in the lock_api crate before 0.4.2 for Rust. A data race can occur because of MappedRwLockWriteGuard unsoundness.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7},"cwes":["CWE-362"],"references":["https://rustsec.org/advisories/RUSTSEC-2020-0070.html","https://rustsec.org/advisories/RUSTSEC-2020-0070.html"],"products":["lock_api_project:lock_api"],"source":"nvd","synced_at":"2026-10-19T21:12:09.559580076+00:00"},"epss":{"cve":"CVE-2020-35912","score":0.00209,"percentile":0.11129,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5wg8-7c9q-794v","url":"https://osv.dev/vulnerability/GHSA-5wg8-7c9q-794v","summary":"Data races in lock_api","modified":"2024-03-15T00:05:20.102470Z","packages":[{"ecosystem":"crates.io","name":"lock_api","purl":"pkg:cargo/lock_api","ranges":["<0.4.2"],"fixed":["0.4.2"]}]},{"id":"GHSA-gmv4-vmx3-x9f3","url":"https://osv.dev/vulnerability/GHSA-gmv4-vmx3-x9f3","summary":"Data races in lock_api","modified":"2024-03-15T00:05:20.102470Z","packages":[{"ecosystem":"crates.io","name":"lock_api","purl":"pkg:cargo/lock_api","ranges":["<0.4.2"],"fixed":["0.4.2"]}]},{"id":"GHSA-hj9h-wrgg-hgmx","url":"https://osv.dev/vulnerability/GHSA-hj9h-wrgg-hgmx","summary":"Data races in lock_api","modified":"2024-03-15T00:05:20.102470Z","packages":[{"ecosystem":"crates.io","name":"lock_api","purl":"pkg:cargo/lock_api","ranges":["<0.4.2"],"fixed":["0.4.2"]}]},{"id":"GHSA-ppj3-7jw3-8vc4","url":"https://osv.dev/vulnerability/GHSA-ppj3-7jw3-8vc4","summary":"Data races in lock_api","modified":"2025-05-23T18:33:34Z","packages":[{"ecosystem":"crates.io","name":"lock_api","purl":"pkg:cargo/lock_api","ranges":["<0.4.2"],"fixed":["0.4.2"]}]},{"id":"GHSA-vh4p-6j7g-f4j9","url":"https://osv.dev/vulnerability/GHSA-vh4p-6j7g-f4j9","summary":"Data races in lock_api","modified":"2024-03-15T00:05:20.102470Z","packages":[{"ecosystem":"crates.io","name":"lock_api","purl":"pkg:cargo/lock_api","ranges":["<0.4.2"],"fixed":["0.4.2"]}]},{"id":"RUSTSEC-2020-0070","url":"https://osv.dev/vulnerability/RUSTSEC-2020-0070","summary":"Some lock_api lock guard objects can cause data races","modified":"2024-03-15T00:05:20.102470Z","packages":[{"ecosystem":"crates.io","name":"lock_api","purl":"pkg:cargo/lock_api","ranges":[">=0.0.0-0 <0.4.2"],"fixed":["0.4.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}