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

CVE-2020-35910: Data races in lock_api

August 25, 2021

An issue was discovered in the lock_api crate before 0.4.2 for Rust. A data race can occur because of MappedMutexGuard unsoundness.

References

  • github.com/Amanieu/parking_lot
  • github.com/Amanieu/parking_lot/pull/262
  • github.com/advisories/GHSA-ppj3-7jw3-8vc4
  • nvd.nist.gov/vuln/detail/CVE-2020-35910
  • rustsec.org/advisories/RUSTSEC-2020-0070.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35910 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.4.2

Fixed versions

  • 0.4.2

Solution

Upgrade to version 0.4.2 or above.

Impact 5.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

cargo/lock_api/CVE-2020-35910.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:00 +0000.