Advisory

GHSA-83r8-p8v6-6gfm

Also known as: CVE-2020-36455, GHSA-mc36-5m36-hjh5, RUSTSEC-2020-0135

Summary

Slock<T> allows sending non-Send types across thread boundaries

Details

Slock<T> unconditionally implements Send/Sync.

Affected versions of this crate allows sending non-Send types to other threads,
which can lead to data races and memory corruption due to the data race.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 21:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

slock

crates.io · All systems

Affected

  • introduced 0, fixed 0.2.0 (semver)

Fixed versions

0.2.0

Fix

  • Fixed version 0.2.0
    cargo update -p slock --precise 0.2.0

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