{"schemaVersion":3,"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.77265,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00: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":0.77265}],"last30":[{"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":0.77265}]},"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}],"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}],"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}],"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}],"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}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:24:25.195Z","stale":false,"partial":false}}