RUSTSEC-2020-0149

    Dashboard / Vulnerabilities / RUSTSEC-2020-0149

    RUSTSEC-2020-0149

    Published: 15 Nov 2020Last Modified: 8 Nov 2023

    Summary: Data race and memory safety issue in `Index`

    Details: The `appendix` crate implements a key-value mapping data structure called `Index<K, V>` that is stored on disk. The crate allows for any type to inhabit the generic `K` and `V` type parameters and implements Send and Sync for them unconditionally. Using a type that is not marked as `Send` or `Sync` with `Index` can allow it to be used across multiple threads leading to data races. Additionally using reference types for the keys or values will lead to the segmentation faults in the crate's code.

    Affected packages

    Package

    Name: appendix

    Purl: pkg:cargo/appendix

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -None

    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-0149 | CVE-DB