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

CVE-2020-36454: Data races in parc

August 25, 2021 (updated June 13, 2023)

In the affected versions of this crate, LockWeak unconditionally implemented Send with no trait bounds on T. LockWeak doesn’t own T and only provides &T. This allows concurrent access to a non-Sync T, which can cause undefined behavior like data races.

References

  • github.com/advisories/GHSA-29v7-3v4c-gf38
  • github.com/hyyking/rustracts/pull/6
  • github.com/hyyking/rustracts/tree/master/parc
  • nvd.nist.gov/vuln/detail/CVE-2020-36454
  • raw.githubusercontent.com/rustsec/advisory-db/main/crates/parc/RUSTSEC-2020-0134.md
  • rustsec.org/advisories/RUSTSEC-2020-0134.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36454 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 up to 1.0.1

Solution

Unfortunately, there is no solution available yet.

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-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

cargo/parc/CVE-2020-36454.yml

Spotted a mistake? Edit the file on GitLab.

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

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