{"schema_version":"1.7.3","id":"GHSA-x7f3-62pm-9p38","published":"2022-05-20T00:00:26Z","modified":"2026-02-04T02:26:18.519345Z","aliases":["CVE-2022-28946","GO-2022-0587"],"related":["CGA-hhxp-vvgj-pr2v"],"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.","affected":[{"package":{"name":"github.com/open-policy-agent/opa","ecosystem":"Go","purl":"pkg:golang/github.com/open-policy-agent/opa"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.40.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x7f3-62pm-9p38/GHSA-x7f3-62pm-9p38.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28946"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/pull/4548"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/commit/e9d3828db670cbe11129885f37f08cbf04935264"},{"type":"PACKAGE","url":"https://github.com/open-policy-agent/opa"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0587"}],"database_specific":{"cwe_ids":["CWE-119"],"github_reviewed":true,"github_reviewed_at":"2022-05-25T20:20:13Z","nvd_published_at":"2022-05-19T19:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}