GHSA-39xg-8p43-h76x

    Dashboard / Vulnerabilities / GHSA-39xg-8p43-h76x

    GHSA-39xg-8p43-h76x

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Data races in reffers

    Details: ARefss<'a, V> is a type that is assumed to contain objects that are Send + Sync. In the affected versions of this crate, Send/Sync traits are unconditionally implemented for ARefss<'a, V>. By using the ARefss::map() API, we can insert a !Send or !Sync object into ARefss<'a, V>. After that, it is possible to create a data race to the inner object of ARefss<'a, V>, which can lead to undefined behavior & memory corruption. The flaw was corrected in commit `6dd7ca0` by adding trait bound V: Send + Sync to ARefss::map() API.

    Affected packages

    Package

    Name: reffers

    Purl: pkg:cargo/reffers

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.6.1

    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-39xg-8p43-h76x | CVE-DB