GHSA-gwfj-pw2x-h6c2

    Dashboard / Vulnerabilities / GHSA-gwfj-pw2x-h6c2

    GHSA-gwfj-pw2x-h6c2

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Out of bounds read in simd-json

    Details: The affected version of this crate did not guard against accessing memory beyond the range of its input data. A pointer cast to read the data into a 256-bit register could lead to a segmentation fault when the end plus the 32 bytes (256 bit) read would overlap into the next page during string parsing. This allows an attacker to eventually crash a service. The flaw was corrected by using a padding buffer for the last read from the input. So that we are we never read over the boundary of the input data.

    Affected packages

    Package

    Name: simd-json

    Purl: pkg:cargo/simd-json

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.1.13
    Fixed -0.1.15

    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