Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. parc
  4. ›
  5. GHSA-xwxc-j97j-84gf

GHSA-xwxc-j97j-84gf: Race condition in Parc

August 25, 2021 (updated June 13, 2023)

In the affected versions of this crate, LockWeak<T> unconditionally implemented Send with no trait bounds on T. LockWeak<T> 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-xwxc-j97j-84gf
  • github.com/hyyking/rustracts/pull/6
  • github.com/hyyking/rustracts/tree/master/parc
  • rustsec.org/advisories/RUSTSEC-2020-0134.html

Code Behaviors & Features

Detect and mitigate GHSA-xwxc-j97j-84gf 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-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

cargo/parc/GHSA-xwxc-j97j-84gf.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:55 +0000.