PT-2020-17578 · Rust · Aovec

Published

2020-12-10

·

Updated

2021-08-25

·

CVE-2020-36207

CVSS v3.1

7.0

High

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions aovec crate through 2020-12-10
Description The issue concerns the aovec crate, which implements the Send and Sync traits for all types T without proper bounds. This allows non-Send types, such as Rc, and non-Sync types, such as Cell, to be used across thread boundaries, potentially triggering undefined behavior and memory corruption due to data races.
Recommendations For the aovec crate through 2020-12-10, consider restricting the use of aovec::Aovec<T> with non-Send or non-Sync types to prevent data races and memory corruption. As a temporary workaround, avoid using aovec::Aovec<T> with types like Rc and Cell across thread boundaries until a proper fix is implemented. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-36207
GHSA-G489-XRW3-3V8W
RUSTSEC-2020-0099

Affected Products

Aovec