Skip to content
OpenAdvisories
Medium · 4.7 CVE-2020-35910 CVE-2020-35911CVE-2020-35912CVE-2020-35913CVE-2020-35914EUVD-2021-1825GHSA-5wg8-7c9q-794vGHSA-gmv4-vmx3-x9f3GHSA-hj9h-wrgg-hgmxGHSA-ppj3-7jw3-8vc4GHSA-vh4p-6j7g-f4j9RUSTSEC-2020-0070

Data races in lock_api

Published Dec 31, 2020 · Updated Aug 4, 2024 · 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 MappedMutexGuard unsoundness.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-lock-api 0.4.5-1 —
Debian 13 rust-lock-api 0.4.5-1 —
Debian 12 rust-lock-api 0.4.5-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-lock-api No fix yet —
Ubuntu 26.04 LTS rust-lock-api No fix yet —
Ubuntu 25.10 rust-lock-api No fix yet —
Ubuntu 24.04 LTS rust-lock-api No fix yet —
Ubuntu 22.04 LTS rust-lock-api No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS rust-lock-api No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io lock_api < 0.4.2 0.4.2 GHSA-5wg8-7c9q-794v
crates.io lock_api >= 0.0.0-0, < 0.4.2 0.4.2 RUSTSEC-2020-0070

References