Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. lever
  4. ›
  5. CVE-2020-36457

CVE-2020-36457: Data races in lever

August 25, 2021

An issue was discovered in the lever crate before 0.1.1 for Rust. AtomicBox 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.

References

  • github.com/advisories/GHSA-9pp4-8p8v-g78w
  • github.com/vertexclique/lever
  • github.com/vertexclique/lever/commit/4a4cca61cdb25061967d58522229e147483007b1
  • github.com/vertexclique/lever/issues/15
  • github.com/vertexclique/lever/pull/17
  • nvd.nist.gov/vuln/detail/CVE-2020-36457
  • rustsec.org/advisories/RUSTSEC-2020-0137.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36457 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.1.1

Fixed versions

  • 0.1.1

Solution

Upgrade to version 0.1.1 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

cargo/lever/CVE-2020-36457.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:42 +0000.