{"id":"CVE-2022-33082","aliases":["GHSA-2m4x-4q9j-w97g","GO-2022-0574"],"title":"Denial of service in Open Policy Agent ","summary":"Denial of service in Open Policy Agent ","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","vendor":"open-policy-agent","product":"github.com/open-policy-agent/opa","ecosystem":"go","affected":["github.com/open-policy-agent/opa < 0.42.0"],"patched":["github.com/open-policy-agent/opa 0.42.0"],"published":"2022-07-01","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:49:49.594658313Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-2m4x-4q9j-w97g","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-33082"},{"url":"https://github.com/open-policy-agent/opa/issues/4761"},{"url":"https://github.com/open-policy-agent/opa/issues/4762"},{"url":"https://github.com/open-policy-agent/opa/pull/4701"},{"url":"https://github.com/open-policy-agent/opa/commit/064f6168a8dfebdeb2ea147f7882bb9f5d2b7f67"},{"url":"https://github.com/open-policy-agent/opa"},{"url":"https://github.com/open-policy-agent/opa/blob/598176de326025451025225aca53e85708d5f1db/ast/compile.go#L1224"},{"url":"https://pkg.go.dev/vuln/GO-2022-0574"}],"tags":["osv","go","exploit-available"],"epss":0.01729,"epssPercentile":0.76575,"exploits":{"github":1,"githubRepos":["https://github.com/cyberqueenmeg/cve-2022-33082-exploit"],"checkedAt":"2026-09-23T07:13:23.637Z"},"exploitAvailable":true,"ingestedAt":"2026-09-12T03:13:01.745Z","slug":"CVE-2022-33082","body":"## Overview\n\nAn issue in the AST parser (ast/compile.go) of Open Policy Agent v0.10.2 allows attackers to cause a Denial of Service (DoS) via a crafted input.\n\n## Affected packages\n\n- `github.com/open-policy-agent/opa < 0.42.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/open-policy-agent/opa 0.42.0`","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":41.3,"likelihood":0.3,"exploitation":12,"ransomware":0},"changes":[]}