Advisory

GHSA-9pp4-8p8v-g78w

Also known as: CVE-2020-36457, RUSTSEC-2020-0137

Summary

Data races in lever

Details

An issue was discovered in the lever crate before 0.1.1 for Rust. AtomicBox<T> implements the Send and Sync traits for all types T. This allows non-Send types such as Rc and non-Sync types such as Cell to be used across thread boundaries which can trigger undefined behavior and memory corruption.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:57 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

lever

crates.io · All systems

Affected

  • introduced 0, fixed 0.1.1 (semver)

Fixed versions

0.1.1

Fix

  • Fixed version 0.1.1
    cargo update -p lever --precise 0.1.1

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