GHSA-hfxp-p695-629x

    Dashboard / Vulnerabilities / GHSA-hfxp-p695-629x

    GHSA-hfxp-p695-629x

    Published: 16 Jun 2022Last Modified: 8 Nov 2023

    Summary: abomonation transmutes &T to and from &[u8] without sufficient constraints

    Details: This transmute is at the core of the abomonation crates. It's so easy to use it to violate alignment requirements that no test in the crate's test suite passes under miri. The use of this transmute in serialization/deserialization also incorrectly assumes that the layout of a repr(Rust) type is stable. This transmute can also disclose both the contents of padding bytes which may be an information leak and the contents of pointers, which may be used to defeat ASLR.

    Affected packages

    Package

    Name: abomonation

    Purl: pkg:cargo/abomonation

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 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
    GHSA-hfxp-p695-629x | CVE-DB