RUSTSEC-2023-0058

    Dashboard / Vulnerabilities / RUSTSEC-2023-0058

    RUSTSEC-2023-0058

    Published: 10 Sept 2023Last Modified: 10 Feb 2024

    Summary: Exposes reference to non-Sync data to an arbitrary thread

    Details: Affected versions do not enforce a `Sync` bound on the type of caller-provided value held in the plugin registry. References to these values are made accessible to arbitrary threads other than the one that constructed them. A caller could use this flaw to submit thread-unsafe data into inventory, then access it as a reference simultaneously from multiple threads. The flaw was corrected by enforcing that data submitted by the caller into inventory is `Sync`.

    Affected packages

    Package

    Name: inventory

    Purl: pkg:cargo/inventory

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.2.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
    RUSTSEC-2023-0058 | CVE-DB