GHSA-3jc5-5hc5-33gj

    Dashboard / Vulnerabilities / GHSA-3jc5-5hc5-33gj

    GHSA-3jc5-5hc5-33gj

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Data races in conquer-once

    Details: Affected versions of conquer-once implements Sync for its OnceCell type without restricting it to Sendable types. This allows non-Send but Sync types such as MutexGuard to be sent across threads leading to undefined behavior and memory corruption in concurrent programs. The issue was fixed by adding a Send constraint to OnceCell.

    Affected packages

    Package

    Name: conquer-once

    Purl: pkg:cargo/conquer-once

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.3.2

    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-3jc5-5hc5-33gj | CVE-DB