Files
advisory-db/crates/parc/RUSTSEC-2020-0134.md
2023-06-13 15:10:24 +02:00

670 B

[advisory]
id = "RUSTSEC-2020-0134"
package = "parc"
date = "2020-11-14"
url = "https://github.com/hyyking/rustracts/pull/6"
categories = ["memory-corruption", "thread-safety"]
aliases = ["CVE-2020-36454", "GHSA-29v7-3v4c-gf38", "GHSA-xwxc-j97j-84gf"]
cvss = "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"

[versions]
patched = []

LockWeak<T> allows to create data race to T.

In the affected versions of this crate, LockWeak<T> unconditionally implemented Send with no trait bounds on T. LockWeak<T> doesn't own T and only provides &T.

This allows concurrent access to a non-Sync T, which can cause undefined behavior like data races.