{"schemaVersion":4,"id":"CVE-2022-33082","aliases":["CGA-hh75-rqhj-grhx","CGA-m9cq-m6g3-7493","GHSA-2m4x-4q9j-w97g","GO-2022-0574"],"status":"published","duplicateOf":null,"title":null,"description":"An 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.","dates":{"published":"2022-06-30T21:50:11.000Z","modified":"2024-08-03T08:01:19.001Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01729,"percentile":0.78377,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.01729},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0175,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0175,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01729,"percentile":0.78377}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01662,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01729,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01729,"percentile":0.78377}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_OPEN-POLICY-AGENT_OPA","name":"Opa","source":"github","url":"https://github.com/open-policy-agent/opa/security/advisories/GHSA-hcw3-j74m-qc58","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[],"affected":[{"vendor":"chainguard","product":"opa","name":"opa","label":"opa","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/opa","purlType":"apk","versions":[{"text":"< 0.64.1-r1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.64.1-r1","endInclusive":false}}],"versionsText":"< 0.64.1-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"opa","name":"opa","label":"opa","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/opa","purlType":"apk","versions":[{"text":"< 0.64.1-r1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.64.1-r1","endInclusive":false}}],"versionsText":"< 0.64.1-r1","eol":null,"hubHref":null},{"vendor":"github.com/open-policy-agent","product":"opa","name":"github.com/open-policy-agent/opa","label":"opa","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/open-policy-agent/opa","purlType":"golang","versions":[{"text":"< 0.42.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.42.0","endInclusive":false}}],"versionsText":"< 0.42.0","eol":null,"hubHref":null},{"vendor":"openpolicyagent","product":"open_policy_agent","name":"open policy agent","label":"open_policy_agent","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.42.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.42.0","endInclusive":false}}],"versionsText":"< 0.42.0","eol":null,"hubHref":"/vendor/openpolicyagent/open_policy_agent"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/open-policy-agent/opa/blob/598176de326025451025225aca53e85708d5f1db/ast/compile.go#L1224","label":"github.com/open-policy-agent/opa/blob/598176de326025451025225aca53e85708d5f1db/ast/compile.go","hostname":"github.com","tags":["X Refsource MISC","WEB","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-33082","label":"nvd.nist.gov/vuln/detail/CVE-2022-33082","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/open-policy-agent/opa/issues/4761","label":"github.com/open-policy-agent/opa/issues/4761","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/open-policy-agent/opa/issues/4762","label":"github.com/open-policy-agent/opa/issues/4762","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/open-policy-agent/opa/pull/4701","label":"github.com/open-policy-agent/opa/pull/4701","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/open-policy-agent/opa/commit/064f6168a8dfebdeb2ea147f7882bb9f5d2b7f67","label":"github.com/open-policy-agent/opa/commit/064f6168a8dfebdeb2ea147f7882bb9f5d2b7f67","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/open-policy-agent/opa","label":"github.com/open-policy-agent/opa","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0574","label":"pkg.go.dev/vuln/GO-2022-0574","hostname":"pkg.go.dev","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-FQ7R-4MFF-XQG4","CGA-GWH3-F537-Q6FF"]},"timeline":[{"kind":"published","date":"2022-06-30T21:50:11.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T08:01:19.001Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (GitHub, Date unknown)","nextStep":"Check applicability: affected before 0.42.0 (CNA); fix release not confirmed","rank":[0,0,0,1,2,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01729,"stale":false,"promoted":null},{"type":"cvss","source":"osv_wolfi","date":"2024-08-03T08:01:19.001Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_go","date":"2024-08-03T08:01:19.001Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2024-08-03T08:01:19.001Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-03T08:01:19.001Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2024-08-03T08:01:19.001Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","version":"2.0"},{"type":"exploit","source":"github","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"poc","verified":false}],"epss":{"value":0.01729,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:14:33.356Z","stale":false,"partial":false}}