GHSA-9mxw-4856-9cm5

    Dashboard / Vulnerabilities / GHSA-9mxw-4856-9cm5

    GHSA-9mxw-4856-9cm5

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Data races in rusb

    Details: Affected versions of rusb did not require UsbContext to implement Send and Sync. However, through Device and DeviceHandle it is possible to use UsbContexts across threads. This issue allows non-thread safe UsbContext types to be used concurrently leading to data races and memory corruption. The issue was fixed by adding Send and Sync bounds to UsbContext.

    Affected packages

    Package

    Name: rusb

    Purl: pkg:cargo/rusb

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.7.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-9mxw-4856-9cm5 | CVE-DB