PT-2020-17583
CVE-2020-36211
·
Published
2020-12-08
·
Updated
2021-08-25
Description by
CVSS 3.1
7.0
HighMetricsAV: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. Found an issue in the description? Have something to add? Feel free to write us 👾