CVE-2022-33082 json
Denial of service in Open Policy Agent
published 2022-06-30 4 y ago modified 2026-09-10 1 mo ago also GHSA-2m4x-4q9j-w97g , GO-2022-0574 , EUVD-2022-6209
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/open-policy-agent/opa 0.42.0
- openpolicyagent open_policy_agent 0.42.0
- github.com/open-policy-agent/opa@064f616 commit
- github.com/open-policy-agent/opa#4701 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-33082 updated cvss 7.5
open-policy-agent: possible DoS via crafted input
-
Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8affected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4 openshift4/cnf-tests-rhel8, openshift4/ztp-site-generate-rhel8affected: no fix available, no fix planned “Will not fix”
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/opa-openshift-rhel8, openshift-logging/lokistack-gateway-rhel8 Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-scanner-rhel8 Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8 Red Hat OpenShift Container Platform 4 openshift-security-profiles-operator-containernot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.73% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/open-policy-agent/opa/blob/598176de326025451025225aca53e85708d5f1db/ast/compile.go#L1224 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/open-policy-agent/opa | <0.42.0 |
0.42.0 |
Classification
- Weakness
-
- CWE-703 Improper Check or Handling of Exceptional Conditions
References
-
github.com
/open-policy-agent/opa/pull/4701
web, patch
-
github.com
/open-policy-agent/opa/commit/064f6168a8dfebdeb2ea147f7882bb9f5d2b7f67
web, patch
-
github.com
/open-policy-agent/opa/blob/598176de326025451025225aca53e85708d5f1db/ast/compile.go#L1224
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-33082
advisory
-
github.com
/open-policy-agent/opa/issues/4761
web
-
github.com
/open-policy-agent/opa/issues/4762
web
-
github.com
/open-policy-agent/opa
package
-
pkg.go.dev
/vuln/GO-2022-0574
web
Sources
- CVE List CVE-2022-33082
- GitHub Advisory GHSA-2m4x-4q9j-w97g
- NVD CVE-2022-33082
- OSV GO-2022-0574
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.