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

CVE-2020-36447: Data race in v9

August 25, 2021 (updated June 13, 2023)

Affected versions of this crate unconditionally implement Sync for SyncRef. This definition allows data races if &T is accessible through &SyncRef.

SyncRef derives Clone and Debug, and the default implementations of those traits access &T by invoking T::clone() & T::fmt(). It is possible to create data races & undefined behavior by concurrently invoking SyncRef::clone() or SyncRef::fmt() from multiple threads with T: !Sync.

References

  • github.com/advisories/GHSA-3837-87vh-xq3w
  • github.com/purpleposeidon/v9
  • github.com/purpleposeidon/v9/commit/18847c50e5d36561cc91c996c3539ddb1eacf6c7
  • github.com/purpleposeidon/v9/issues/1
  • nvd.nist.gov/vuln/detail/CVE-2020-36447
  • raw.githubusercontent.com/rustsec/advisory-db/main/crates/v9/RUSTSEC-2020-0127.md
  • rustsec.org/advisories/RUSTSEC-2020-0127.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36447 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.43

Fixed versions

  • 0.1.43

Solution

Upgrade to version 0.1.43 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-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

cargo/v9/CVE-2020-36447.yml

Spotted a mistake? Edit the file on GitLab.

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

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