{"id":"GHSA-x7f3-62pm-9p38","revision":"72c532cb960e48b4a258a0ce6b82aed2","records":[{"revision":"72c532cb960e48b4a258a0ce6b82aed2","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-x7f3-62pm-9p38","aliases":["CVE-2022-28946","GO-2022-0587"],"title":"Out of bounds memory access in github.com/open-policy-agent/opa","description":"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.","state":0,"publishedAt":"2022-05-20T00:00:26+00:00","modifiedAt":"2026-09-10T03:49:43.555675+00:00","affected":[{"ecosystem":"Go","name":"github.com/open-policy-agent/opa","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.40.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-28946","https://github.com/open-policy-agent/opa/pull/4548","https://github.com/open-policy-agent/opa/commit/e9d3828db670cbe11129885f37f08cbf04935264","https://github.com/open-policy-agent/opa","https://pkg.go.dev/vuln/GO-2022-0587"],"sourceUrl":"https://github.com/advisories/GHSA-x7f3-62pm-9p38","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-x7f3-62pm-9p38","identifiers":["GHSA-x7f3-62pm-9p38","CVE-2022-28946","GO-2022-0587"]},"retained":false,"historicalAffected":[]}],"coverage":[]}