CVE-2020-35911
MEDIUM 4.7CVSS 3.1Data races in lock_api
An issue was discovered in the lock_api crate before 0.4.2 for Rust. A data race can occur because of MappedRwLockReadGuard unsoundness.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-362
- Also known as
- CVE-2020-35910CVE-2020-35912CVE-2020-35913CVE-2020-35914GHSA-5wg8-7c9q-794vGHSA-gmv4-vmx3-x9f3GHSA-hj9h-wrgg-hgmxGHSA-ppj3-7jw3-8vc4GHSA-vh4p-6j7g-f4j9RUSTSEC-2020-0070
- Sources
- NVDJSONOSV GHSA-5wg8-7c9q-794vJSONOSV GHSA-gmv4-vmx3-x9f3JSONOSV GHSA-hj9h-wrgg-hgmxJSONOSV GHSA-ppj3-7jw3-8vc4JSONOSV GHSA-vh4p-6j7g-f4j9JSONOSV RUSTSEC-2020-0070JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 1.9 | AV:L/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lock_api_project | lock_apicpe:2.3:a:lock_api_project:lock_api:*:*:*:*:*:rust:*:* |
< 0.4.2 | 0.4.2 |
| OSV | crates.io | lock_api | < 0.4.2 | 0.4.2 |
| OSV | crates.io | lock_api | >= 0.0.0-0, < 0.4.2 | 0.4.2 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0070.html · Third Party Advisory, WEB, ADVISORY
- 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
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Nov 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)