GHSA-9wgh-vjj7-7433

    Dashboard / Vulnerabilities / GHSA-9wgh-vjj7-7433

    GHSA-9wgh-vjj7-7433

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Mutable reference with immutable provenance in image

    Details: A mutable reference to a struct was constructed by dereferencing a pointer obtained from slice::as_ptr. Instead, slice::as_mut_ptr should have been called on the mutable slice argument. The former performs an implicit reborrow as an immutable shared reference which does not allow writing through the derived pointer.

    Affected packages

    Package

    Name: image

    Purl: pkg:cargo/image

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.23.12

    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-9wgh-vjj7-7433 | CVE-DB