GO-2022-0587

    Dashboard / Vulnerabilities / GO-2022-0587

    GO-2022-0587

    Published: 20 May 2022Last Modified: 4 Feb 2026

    Summary: Out of bounds memory access in github.com/open-policy-agent/opa

    Details: An issue in ast.Parser in Open Policy Agent causes the application to incorrectly interpret expressions, allowing a Denial of Service (DoS) via triggering out-of-range memory access.

    Affected packages

    Package

    Name: github.com/open-policy-agent/opa

    Purl: pkg:golang/github.com/open-policy-agent/opa

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.40.0

    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-0587 | CVE-DB