PT-2020-17583 · Rust · Gfwx
Published
2020-12-08
·
Updated
2021-08-25
·
CVE-2020-36211
CVSS v3.1
7.0
High
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
gfwx crate versions prior to 0.3.0
Description
The issue arises from
ImageChunkMut not having bounds on its Send trait or Sync trait, leading to potential data races and memory corruption. Specifically, ImageChunkMut<' , T> unconditionally implements Send and Sync, which can cause memory corruption or undefined behavior when non-thread-safe types are moved and referenced across thread boundaries.Recommendations
For versions prior to 0.3.0, update to version 0.3.0 or later to resolve the issue. As a temporary workaround, consider avoiding the use of
ImageChunkMut across thread boundaries until the update is applied.Exploit
Fix
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gfwx