GHSA-f6g6-54hm-fhxv

    Dashboard / Vulnerabilities / GHSA-f6g6-54hm-fhxv

    GHSA-f6g6-54hm-fhxv

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Data races in libsbc

    Details: Affected versions of this crate implements `Send` for `Decoder<R>` for any `R: Read`. This allows `Decoder<R>` to contain `R: !Send` and carry (move) it to another thread. This can result in undefined behavior such as memory corruption from data race on `R`, or dropping `R = MutexGuard<_>` from a thread that didn't lock the mutex. The flaw was corrected in commit a34d6e1 by adding trait bound `R: Send` to the `Send` impl for `Decoder<R>`.

    Affected packages

    Package

    Name: libsbc

    Purl: pkg:cargo/libsbc

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.1.5

    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-f6g6-54hm-fhxv | CVE-DB