# CVE-2020-35914: Data races in lock_api

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2020-11-08T12:00:00.000Z
- Modified: 2026-06-17T03:14:35.737Z
- Also known as: GHSA-5wg8-7c9q-794v, GHSA-gmv4-vmx3-x9f3, GHSA-hj9h-wrgg-hgmx, GHSA-ppj3-7jw3-8vc4, GHSA-vh4p-6j7g-f4j9, RUSTSEC-2020-0070
- Related: CVE-2020-35910, CVE-2020-35911, CVE-2020-35912, CVE-2020-35913
- Weaknesses: CWE-362
- Assigned by: mitre

## Description

An issue was discovered in the lock_api crate before 0.4.2 for Rust. A data race can occur because of RwLockWriteGuard unsoundness.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lock_api (crates.io): before 0.4.2; from 0.0.0-0 before 0.4.2
- lock_api_project lock_api: before 0.4.2

## Every score

- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 1.9 Low `AV:L/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2020-0070.html> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35912> (advisory)
- <https://github.com/Amanieu/parking_lot/pull/262> (web)
- <https://github.com/Amanieu/parking_lot> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35914> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35913> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35910> (advisory)
- <https://github.com/Amanieu/parking_lot/commit/7de94f95f519d8281cb48457964065b463d26736> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35911> (advisory)
- <https://crates.io/crates/lock_api> (package)

## Sources

- CVE List: [CVE-2020-35914](https://www.cve.org/CVERecord?id=CVE-2020-35914), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-5wg8-7c9q-794v](https://github.com/advisories/GHSA-5wg8-7c9q-794v), CC-BY-4.0, modified 2024-03-15
- GitHub Advisory Database: [GHSA-gmv4-vmx3-x9f3](https://github.com/advisories/GHSA-gmv4-vmx3-x9f3), CC-BY-4.0, modified 2024-03-15
- GitHub Advisory Database: [GHSA-hj9h-wrgg-hgmx](https://github.com/advisories/GHSA-hj9h-wrgg-hgmx), CC-BY-4.0, modified 2024-03-15
- GitHub Advisory Database: [GHSA-ppj3-7jw3-8vc4](https://github.com/advisories/GHSA-ppj3-7jw3-8vc4), CC-BY-4.0, modified 2025-05-23
- GitHub Advisory Database: [GHSA-vh4p-6j7g-f4j9](https://github.com/advisories/GHSA-vh4p-6j7g-f4j9), CC-BY-4.0, modified 2024-03-15
- RustSec Advisory Database: [RUSTSEC-2020-0070](https://rustsec.org/advisories/RUSTSEC-2020-0070.html), CC0-1.0, modified 2024-03-15
- NVD: [CVE-2020-35914](https://nvd.nist.gov/vuln/detail/CVE-2020-35914), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35914 · Whole record: https://cve.day/CVE-2020-35914.json · Rebuilt by cve.day 2026-11-25T22:57:56.650Z
