Advisory

GHSA-vh4p-6j7g-f4j9

Also known as: CVE-2020-35910, 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, RUSTSEC-2020-0070

Summary

Data races in lock_api

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 20:49 UTC
Modified
2024-03-15 00:05 UTC

Affected packages and fixes

lock_api

crates.io · All systems

Affected

  • introduced 0, fixed 0.4.2 (semver)

Fixed versions

0.4.2

Fix

  • Fixed version 0.4.2
    cargo update -p lock_api --precise 0.4.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences