PT-2020-17638 · Rust · Lever

Published

2020-11-10

·

Updated

2022-11-16

·

CVE-2020-36457

CVSS v3.1

8.1

High

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2020-36457
GHSA-9PP4-8P8V-G78W
RUSTSEC-2020-0137

Affected Products

Lever