GHSA-x7f3-62pm-9p38

Suggest an improvement
Source
https://github.com/advisories/GHSA-x7f3-62pm-9p38
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x7f3-62pm-9p38/GHSA-x7f3-62pm-9p38.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x7f3-62pm-9p38
Aliases
Related
Published
2022-05-20T00:00:26Z
Modified
2023-11-08T04:09:06.423715Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Out of bounds memory access in github.com/open-policy-agent/opa
Details

An issue in the component ast/parser.go of Open Policy Agent v0.39.0 causes the application to incorrectly interpret every expression, causing a Denial of Service (DoS) via triggering out-of-range memory access.

Database specific
{
    "nvd_published_at": "2022-05-19T19:15:00Z",
    "github_reviewed_at": "2022-05-25T20:20:13Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-119"
    ]
}
References

Affected packages

Go / github.com/open-policy-agent/opa

Package

Name
github.com/open-policy-agent/opa
View open source insights on deps.dev
Purl
pkg:golang/github.com/open-policy-agent/opa

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.40.0