{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-28946","id":"CVE-2022-28946","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.","descriptionLong":"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.","published":"2022-05-19T18:03:47.000Z","updated":"2026-10-28T02:30:24.972283160Z","reserved":"2022-04-11T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/open-policy-agent/opa","purl":"pkg:golang/github.com/open-policy-agent/opa","ranges":["<0.40.0"],"fixed":["0.40.0"],"advisory":"GHSA-x7f3-62pm-9p38"}],"cwes":["CWE-119"],"aliases":["GHSA-x7f3-62pm-9p38","GO-2022-0587"],"references":[{"url":"https://github.com/open-policy-agent/opa/commit/e9d3828db670cbe11129885f37f08cbf04935264","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28946.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28946","tags":["advisory"]},{"url":"https://github.com/open-policy-agent/opa/pull/4548","tags":["web","fix"]},{"url":"https://github.com/open-policy-agent/opa","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0587","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0104,"epssPercentile":0.64683,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-28946","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28946","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-28946","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x7f3-62pm-9p38","ok":true,"note":"GHSA-x7f3-62pm-9p38"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-28946","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}