GitHub Advisoryadvisory · crates.io

GHSA-29v7-3v4c-gf38 Data races in parc

HIGH Published 2021-08-25 Modified 2023-06-13 Official page ↗
Aliases
CVE-2020-36454
Ecosystem
crates.io
Packages
parc
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-119, CWE-362
Reviewed
2021-08-18

Affected packages

• crates.io parc: <= 1.0.1 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-36454 An issue was discovered in the parc crate through 2020-11-14 for Rust. vulnerability

Weakness · CWE (2)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness

References