GO-2021-0054

    Dashboard / Vulnerabilities / GO-2021-0054

    GO-2021-0054

    Published: 14 Apr 2021Last Modified: 20 May 2024

    Summary: Panic due to improper input validation in ForEach in github.com/tidwall/gjson

    Details: Due to improper bounds checking, maliciously crafted JSON objects can cause an out-of-bounds panic. If parsing user input, this may be used as a denial of service vector.

    Affected packages

    Package

    Name: github.com/tidwall/gjson

    Purl: pkg:golang/github.com/tidwall/gjson

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.6.6

    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-2021-0054 | CVE-DB