An issue was discovered in the lever crate before 0.1.1 for Rust. AtomicBox<T> 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.
{
"github_reviewed": true,
"severity": "HIGH",
"cwe_ids": [
"CWE-362",
"CWE-77"
],
"nvd_published_at": "2021-08-08T06:15:00Z",
"github_reviewed_at": "2021-08-18T20:22:32Z"
}