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

CVE-2020-36211: Data races in gfwx

August 25, 2021 (updated June 13, 2023)

In the affected versions of this crate, ImageChunkMut<’_, T> unconditionally implements Send and Sync, allowing to create data races.

This can result in a memory corruption or undefined behavior when non thread-safe types are moved and referenced across thread boundaries.

The flaw was corrected in commit e7fb2f5 by adding T: Send bound to the Send impl and adding T: Sync bound to the Sync impl.

References

  • github.com/Devolutions/gfwx-rs
  • github.com/Devolutions/gfwx-rs/issues/7
  • github.com/advisories/GHSA-xp6v-qx65-4pp7
  • nvd.nist.gov/vuln/detail/CVE-2020-36211
  • rustsec.org/advisories/RUSTSEC-2020-0104.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36211 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.3.0

Fixed versions

  • 0.3.0

Solution

Upgrade to version 0.3.0 or above.

Impact 7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-662: Improper Synchronization
  • CWE-787: Out-of-bounds Write

Source file

cargo/gfwx/CVE-2020-36211.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:43 +0000.