PT-2020-17638 · Rust · Lever
Published
2020-11-10
·
Updated
2022-11-16
·
CVE-2020-36457
CVSS v3.1
8.1
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
lever crate versions prior to 0.1.1
Description
The issue concerns the implementation of the Send and Sync traits for all types T by AtomicBox, which is designed for use across threads. This implementation allows non-Send types, such as
Rc, and non-Sync types, such as Cell, to be used across thread boundaries. As a result, it can trigger undefined behavior and memory corruption.Recommendations
For versions prior to 0.1.1, update to version 0.1.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of
AtomicBox<T> with non-Send types like Rc and non-Sync types like Cell until the update is applied.Exploit
Fix
Command Injection
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Lever