Files
advisory-db/crates/lever/RUSTSEC-2020-0137.md
Alexander Kjäll f494f83f8e add missing cve info to advisories (#1077)
looks like RUSTSEC-2020-0036 might be a special case, someone got a cve for that the crate is unmaintained
2021-10-14 21:53:11 +02:00

671 B

[advisory]
id = "RUSTSEC-2020-0137"
package = "lever"
date = "2020-11-10"
url = "https://github.com/vertexclique/lever/issues/15"
categories = ["memory-corruption", "thread-safety"]
keywords = ["concurrency"]
aliases = ["CVE-2020-36457"]

[versions]
patched = [">= 0.1.1"]

AtomicBox lacks bound on its Send and Sync traits allowing data races

AtomicBox<T> is a Box type designed to be used across threads, however, it 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.