Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. windows
  4. ›
  5. GHSA-x4mq-m75f-mx8m

GHSA-x4mq-m75f-mx8m: Delegate functions are missing `Send` bound

June 17, 2022 (updated July 5, 2022)

Affected versions of this crate did not require event handlers to have Send bound despite there being no guarantee of them being called on any particular thread, which can potentially lead to data races and undefined behavior.

The flaw was corrected in commit afe3252 by adding Send bounds.

References

  • github.com/advisories/GHSA-x4mq-m75f-mx8m
  • github.com/microsoft/windows-rs
  • github.com/microsoft/windows-rs/commit/afe32525c22209aa8f632a0f4ad607863b51796a
  • github.com/microsoft/windows-rs/issues/1409
  • rustsec.org/advisories/RUSTSEC-2022-0008.html

Code Behaviors & Features

Detect and mitigate GHSA-x4mq-m75f-mx8m 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 starting from 0.1.2 before 0.32.0

Fixed versions

  • 0.32.0

Solution

Upgrade to version 0.32.0 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-820: Missing Synchronization

Source file

cargo/windows/GHSA-x4mq-m75f-mx8m.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:54 +0000.