RUSTSEC-2020-0118

    Dashboard / Vulnerabilities / RUSTSEC-2020-0118

    RUSTSEC-2020-0118

    Published: 8 Dec 2020Last Modified: 8 Nov 2023

    Summary: Future<T> lacks bounds on Send and Sync.

    Details: `tiny_future` contains a light-weight implementation of `Future`s. The `Future` type it has lacked bound on its `Send` and `Sync` traits. This allows for a bug where non-thread safe types such as `Cell` can be used in `Future`s and cause data races in concurrent programs. The flaw was corrected in commit `c791919` by adding trait bounds to `Future`'s `Send` and `Sync`.

    Affected packages

    Package

    Name: tiny_future

    Purl: pkg:cargo/tiny_future

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.4.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-2020-0118 | CVE-DB