GO-2022-0963

    Dashboard / Vulnerabilities / GO-2022-0963

    GO-2022-0963

    Published: 2 Sept 2022Last Modified: 20 May 2024

    Summary: Resource exhaustion in github.com/gagliardetto/binary

    Details: A memory allocation vulnerability can be exploited to allocate arbitrarily large slices, which can exhaust available memory or crash the program. When parsing data from untrusted sources of input (e.g. the blockchain), the length of the slice to allocate is read directly from the data itself without any checks, which could lead to an allocation of excessive memory.

    Affected packages

    Package

    Name: github.com/gagliardetto/binary

    Purl: pkg:golang/github.com/gagliardetto/binary

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.7.1

    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
    GO-2022-0963 | CVE-DB