{"id":"CVE-2020-36211","aliases":["EUVD-2021-1938","GHSA-xp6v-qx65-4pp7","RUSTSEC-2020-0104"],"status":"published","title":"Data races in gfwx","description":"An issue was discovered in the gfwx crate before 0.3.0 for Rust. Because ImageChunkMut does not have bounds on its Send trait or Sync trait, a data race and memory corruption can occur.","severity":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00348,"percentile":0.28755,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-662","CWE-787"],"published":"2020-12-08T12:00:00Z","modified":"2026-10-24T10:30:20Z","fixes":[{"ecosystem":"crates.io","package":"gfwx","fixed_in":["0.3.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"gfwx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"gfwx","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"gfwx","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.0"}]}]}],"products":[{"vendor":"devolutions","product":"gfwx"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0104.html","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","evidence","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36211","tags":["advisory"]},{"url":"https://github.com/Devolutions/gfwx-rs/issues/7","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-xp6v-qx65-4pp7"},{"url":"https://github.com/Devolutions/gfwx-rs","tags":["package"]},{"url":"https://crates.io/crates/gfwx","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-36211","description":"An issue was discovered in the gfwx crate before 0.3.0 for Rust. Because ImageChunkMut does not have bounds on its Send trait or Sync trait, a data race and memory corruption can occur.","status":"published","published":"2021-01-22T09:05:33Z","modified":"2024-08-04T17:23:09.563Z","updated_at":"2026-11-02T14:35:55.128961Z"}],"euvd":[{"id":"EUVD-2021-1938","description":"An issue was discovered in the gfwx crate before 0.3.0 for Rust. Because ImageChunkMut does not have bounds on its Send trait or Sync trait, a data race and memory corruption can occur.","status":"published","published":"2021-01-22T09:05:33Z","modified":"2024-08-04T17:23:09Z","updated_at":"2026-11-03T03:07:03.484914Z"}],"ghsa":[{"id":"GHSA-xp6v-qx65-4pp7","title":"Data races in gfwx","description":"In the affected versions of this crate, ImageChunkMut\u003c'_, T\u003e unconditionally implements Send and Sync, allowing to create data races.\n\nThis can result in a memory corruption or undefined behavior when non thread-safe types are moved and referenced across thread boundaries.\n\nThe flaw was corrected in commit e7fb2f5 by adding T: Send bound to the Send impl and adding T: Sync bound to the Sync impl.","status":"published","published":"2021-08-25T20:50:39Z","modified":"2023-06-13T18:10:25Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-662","CWE-787"],"updated_at":"2026-11-02T14:36:53.654352Z"}],"nvd":[{"id":"CVE-2020-36211","description":"An issue was discovered in the gfwx crate before 0.3.0 for Rust. Because ImageChunkMut does not have bounds on its Send trait or Sync trait, a data race and memory corruption can occur.","status":"published","published":"2021-01-26T18:15:56.083Z","modified":"2026-06-17T03:15:01.157Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-662","CWE-787"],"updated_at":"2026-11-02T14:06:30.596418Z"}],"osv":[{"id":"CVE-2020-36211","description":"An issue was discovered in the gfwx crate before 0.3.0 for Rust. Because ImageChunkMut does not have bounds on its Send trait or Sync trait, a data race and memory corruption can occur.","status":"published","published":"2021-01-26T18:15:56.083Z","modified":"2026-10-24T10:30:20.892598146Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"GHSA-xp6v-qx65-4pp7","title":"Data races in gfwx","description":"In the affected versions of this crate, ImageChunkMut\u003c'_, T\u003e unconditionally implements Send and Sync, allowing to create data races.\n\nThis can result in a memory corruption or undefined behavior when non thread-safe types are moved and referenced across thread boundaries.\n\nThe flaw was corrected in commit e7fb2f5 by adding T: Send bound to the Send impl and adding T: Sync bound to the Sync impl.","status":"published","published":"2021-08-25T20:50:39Z","modified":"2023-11-08T04:03:41.780192Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-662","CWE-787"],"updated_at":"2026-11-02T15:47:00.198893Z"},{"id":"RUSTSEC-2020-0104","title":"ImageChunkMut needs bounds on its Send and Sync traits","description":"In the affected versions of this crate, `ImageChunkMut\u003c'_, T\u003e` unconditionally implements `Send` and `Sync`, allowing to create data races.\n\nThis can result in a memory corruption or undefined behavior when non thread-safe types are moved and referenced across thread boundaries.\n\nThe flaw was corrected in commit e7fb2f5 by adding `T: Send` bound to the `Send` impl and adding `T: Sync` bound to the `Sync` impl.","status":"published","published":"2020-12-08T12:00:00Z","modified":"2023-11-08T04:03:41.780192Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
