lock_api known bugs

cargo

6 known bugs in lock_api, with affected versions, fixes and workarounds. Sourced from upstream issue trackers.

6
bugs
Known bugs
SeverityAffectedFixed inTitleStatusSource
medium0.0.0-00.4.2
Some lock_api lock guard objects can cause data races
Affected versions of lock_api had unsound implementations of the `Send` or `Sync` traits for some guard objects, namely: * MappedMutexGuard * MappedRwLockReadGuard * MappedRwLockWriteGuard * RwLockReadGuard * RwLockWriteGuard These guards could allow data races through types that are not safe to `Send` across thread boundaries in safe Rust code. This issue was fixed by changing the trait bounds on the `Mapped` guard types and removing the `Sync` trait for the `RwLock` guards.
fixedosv:RUSTSEC-2020-0070
mediumany0.4.2
Data 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.
fixedosv:GHSA-vh4p-6j7g-f4j9
mediumany0.4.2
Data 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 MappedMutexGuard unsoundness.
fixedosv:GHSA-ppj3-7jw3-8vc4
mediumany0.4.2
Data 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 RwLockReadGuard unsoundness.
fixedosv:GHSA-hj9h-wrgg-hgmx
mediumany0.4.2
Data 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 RwLockWriteGuard unsoundness.
fixedosv:GHSA-gmv4-vmx3-x9f3
mediumany0.4.2
Data 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 MappedRwLockWriteGuard unsoundness.
fixedosv:GHSA-5wg8-7c9q-794v
API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/bugs/cargo/lock_api
lock_api bugs — known issues per version | DepScope | DepScope