{"id":"CVE-2022-33082","aliases":["GHSA-2m4x-4q9j-w97g","GO-2022-0574"],"summary":"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.","published_at":"2022-06-30T00:00:00Z","modified_at":"2026-09-10T03:49:49.594658Z","products":[{"slug":"opa-gatekeeper","name":"Open Policy Agent / Gatekeeper","category":"kubernetes-container"}],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.01728999987244606,"percentile":0.7807400226593018,"date":"2026-11-19T00:00:00Z"},"priority":9.5,"details":"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.","affected_stack":[{"ecosystem":"Go","package":"github.com/open-policy-agent/opa","purl":"pkg:golang/github.com/open-policy-agent/opa","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.42.0"}]}],"fixed":["0.42.0"],"provider":"osv","source":"GHSA-2m4x-4q9j-w97g","relation":"self"},{"ecosystem":"Go","package":"github.com/open-policy-agent/opa","purl":"pkg:golang/github.com/open-policy-agent/opa","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.42.0"}]}],"fixed":["0.42.0"],"provider":"osv","source":"GO-2022-0574","relation":"self"}],"affected_other":[{"ecosystem":"NVD","package":"openpolicyagent:open_policy_agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.42.0"}]}],"fixed":["0.42.0"],"provider":"nvd","source":"CVE-2022-33082","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/lokistack-gateway-rhel8","openshift-logging/opa-openshift-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"affected","packages":["advanced-cluster-security/rhacs-main-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"not_affected","packages":["advanced-cluster-security/rhacs-scanner-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"not_affected","packages":["advanced-cluster-security/rhacs-main-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/cnf-tests-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ztp-site-generate-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift-security-profiles-operator-container"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-33082"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2022-33082","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-33082","license":"CC-BY-4.0","published_at":"2022-06-30T21:50:11Z","modified_at":"2024-08-03T08:01:19.001Z","summary":"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.","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/open-policy-agent/opa/blob/598176de326025451025225aca53e85708d5f1db/ast/compile.go#L1224"}]},{"provider":"nvd","source_id":"CVE-2022-33082","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-33082","severity":[],"affected":[{"ecosystem":"NVD","package":"openpolicyagent:open_policy_agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.42.0"}]}],"fixed":["0.42.0"],"provider":"nvd","source":"CVE-2022-33082","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-2m4x-4q9j-w97g","relation":"self","url":"https://osv.dev/vulnerability/GHSA-2m4x-4q9j-w97g","license":"CC-BY-4.0","published_at":"2022-07-01T00:01:03Z","modified_at":"2026-09-10T03:49:49.594658Z","summary":"Denial of service in Open Policy Agent","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-2m4x-4q9j-w97g"}],"affected":[{"ecosystem":"Go","package":"github.com/open-policy-agent/opa","purl":"pkg:golang/github.com/open-policy-agent/opa","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.42.0"}]}],"fixed":["0.42.0"],"provider":"osv","source":"GHSA-2m4x-4q9j-w97g","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-33082"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/issues/4761"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/issues/4762"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/pull/4701"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/commit/064f6168a8dfebdeb2ea147f7882bb9f5d2b7f67"},{"type":"PACKAGE","url":"https://github.com/open-policy-agent/opa"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/blob/598176de326025451025225aca53e85708d5f1db/ast/compile.go#L1224"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0574"}]},{"provider":"osv","source_id":"GO-2022-0574","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0574","license":"CC-BY-4.0","published_at":"2022-07-01T00:01:03Z","modified_at":"2026-02-04T02:29:50.893849Z","summary":"Denial of service in github.com/open-policy-agent/opa","details":"An issue in the AST parser of Open Policy Agent makes it possible for attackers to cause a Denial of Service attack from a crafted input.","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/open-policy-agent/opa","purl":"pkg:golang/github.com/open-policy-agent/opa","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.42.0"}]}],"fixed":["0.42.0"],"provider":"osv","source":"GO-2022-0574","relation":"self"}],"product_status":[],"references":[{"type":"FIX","url":"https://github.com/open-policy-agent/opa/pull/4701"},{"type":"FIX","url":"https://github.com/open-policy-agent/opa/commit/064f6168a8dfebdeb2ea147f7882bb9f5d2b7f67"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/issues/4762"}]},{"provider":"redhat-vex","source_id":"CVE-2022-33082","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2022-33082","license":"CC-BY-4.0","published_at":"2022-06-30T00:00:00Z","modified_at":"2026-02-02T07:28:14.984404Z","summary":"open-policy-agent: possible DoS via crafted input","details":"A flaw was found in the Open Policy Agent, where it is vulnerable to a denial of service caused by an issue in the AST parser (ast/compile.go). This flaw allows an attacker to cause a denial of service by sending specially-crafted input.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2022-33082"},{"type":"Red Hat","score":"Moderate","source":"CVE-2022-33082"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/lokistack-gateway-rhel8","openshift-logging/opa-openshift-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"affected","packages":["advanced-cluster-security/rhacs-main-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"not_affected","packages":["advanced-cluster-security/rhacs-scanner-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"not_affected","packages":["advanced-cluster-security/rhacs-main-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/cnf-tests-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ztp-site-generate-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-33082"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift-security-profiles-operator-container"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-33082"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-33082.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-33082"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2196440"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-33082"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-33082"},{"type":"WEB","url":"https://github.com/advisories/GHSA-2m4x-4q9j-w97g"}]}],"references":[{"type":"WEB","url":"https://github.com/open-policy-agent/opa/blob/598176de326025451025225aca53e85708d5f1db/ast/compile.go#L1224"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-33082"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/issues/4761"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/issues/4762"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/pull/4701"},{"type":"WEB","url":"https://github.com/open-policy-agent/opa/commit/064f6168a8dfebdeb2ea147f7882bb9f5d2b7f67"},{"type":"PACKAGE","url":"https://github.com/open-policy-agent/opa"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0574"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-33082.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-33082"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2196440"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-33082"},{"type":"WEB","url":"https://github.com/advisories/GHSA-2m4x-4q9j-w97g"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2022-33082","url":"https://www.cve.org/CVERecord?id=CVE-2022-33082","license":"CC-BY-4.0","modified_at":"2024-08-03T08:01:19.001Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-33082","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-33082","relation":"self"},{"provider":"osv","source_id":"GHSA-2m4x-4q9j-w97g","url":"https://osv.dev/vulnerability/GHSA-2m4x-4q9j-w97g","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:49.594658Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0574","url":"https://osv.dev/vulnerability/GO-2022-0574","license":"CC-BY-4.0","modified_at":"2026-02-04T02:29:50.893849Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2022-33082","url":"https://access.redhat.com/security/cve/CVE-2022-33082","license":"CC-BY-4.0","modified_at":"2026-02-02T07:28:14.984404Z","relation":"self"}]}
