GHSA-p9m5-3hj7-cp5r

    Dashboard / Vulnerabilities / GHSA-p9m5-3hj7-cp5r

    GHSA-p9m5-3hj7-cp5r

    Published: 24 May 2022Last Modified: 8 Nov 2023

    Summary: futures_task::noop_waker_ref can segfault due to dereferencing a NULL pointer

    Details: Affected versions of the crate used a UnsafeCell in thread-local storage to return a noop waker reference, assuming that the reference would never be returned from another thread. This resulted in a segmentation fault crash if Waker::wake_by_ref() was called on a waker returned from another thread due to it attempting to dereference a pointer that wasn't accessible from the main thread.

    Affected packages

    Package

    Name: futures-task

    Purl: pkg:cargo/futures-task

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.3.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-p9m5-3hj7-cp5r | CVE-DB