GHSA-jmwx-r3gq-qq3p

    Dashboard / Vulnerabilities / GHSA-jmwx-r3gq-qq3p

    GHSA-jmwx-r3gq-qq3p

    Published: 17 Jun 2022Last Modified: 8 Nov 2023

    Summary: vec-const attempts to construct a Vec from a pointer to a const slice

    Details: Affected versions of this crate claimed to construct a const `Vec` with nonzero length and capacity, but that cannot be done because such a `Vec` requires a pointer from an allocator. The implementation was later changed to just construct a `std::borrow::Cow`.

    Affected packages

    Package

    Name: vec-const

    Purl: pkg:cargo/vec-const

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -2.0.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
    GHSA-jmwx-r3gq-qq3p | CVE-DB