Skip to content
Fencer Vulns
medium 5.5

CVE-2020-35910 json

Data races in lock_api

published 2020-11-08 6 y ago modified 2026-06-17 4 mo ago also CVE-2020-35911 , CVE-2020-35912 , CVE-2020-35913 , CVE-2020-35914 , GHSA-5wg8-7c9q-794v , GHSA-gmv4-vmx3-x9f3 , GHSA-hj9h-wrgg-hgmx , GHSA-ppj3-7jw3-8vc4 , GHSA-vh4p-6j7g-f4j9 , RUSTSEC-2020-0070 , EUVD-2021-1825

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 26%
public exploits
0
none known

Summary

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

Patch / fix

  • crates.io lock_api 0.4.2
  • lock_api_project lock_api 0.4.2
  • rust-lock-api Debian 14, Debian 13, Debian 12 0.4.5-1

debian advisories DEBIAN-CVE-2020-35910

Exploit prediction

0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P
GitHub 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 4.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
crates.io lock_api
<0.4.2
>=0.0.0-0, <0.4.2
0.4.2

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.