CVE-2022-33082
HIGH 7.5CVSS 3.1Denial of service in Open Policy Agent
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
- 30 Jun 2022
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-703
- Also known as
- GHSA-2m4x-4q9j-w97gGO-2022-0574
- Sources
- NVDJSONOSV GHSA-2m4x-4q9j-w97gJSONOSV GO-2022-0574JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openpolicyagent | open_policy_agentcpe:2.3:a:openpolicyagent:open_policy_agent:*:*:*:*:*:*:*:* |
< 0.42.0 | 0.42.0 |
| OSV | Go | github.com/open-policy-agent/opa | < 0.42.0 | 0.42.0 |
References
- https://github.com/open-policy-agent/opa/blob/598176de326025451025225aca53e85708d5f1db/ast/compile.go#L1224 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-33082 · ADVISORY
- https://github.com/open-policy-agent/opa/issues/4761 · WEB
- https://github.com/open-policy-agent/opa/issues/4762 · WEB
- https://github.com/open-policy-agent/opa/pull/4701 · WEB, FIX
- https://github.com/open-policy-agent/opa/commit/064f6168a8dfebdeb2ea147f7882bb9f5d2b7f67 · WEB, FIX
- https://github.com/open-policy-agent/opa · PACKAGE
- https://pkg.go.dev/vuln/GO-2022-0574 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 30 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Jul 2022)