# CVE-2022-33082: Denial of service in Open Policy Agent

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.73%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-30T21:50:11.000Z
- Modified: 2026-09-10T03:49:49.594Z
- Also known as: GHSA-2m4x-4q9j-w97g, GO-2022-0574
- Related: CGA-gwh3-f537-q6ff
- Weaknesses: CWE-703
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/open-policy-agent/opa (Go): before 0.42.0
- openpolicyagent open_policy_agent: before 0.42.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## 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> (fix, web)
- <https://github.com/open-policy-agent/opa/commit/064f6168a8dfebdeb2ea147f7882bb9f5d2b7f67> (fix, web)
- <https://github.com/open-policy-agent/opa> (package)
- <https://pkg.go.dev/vuln/GO-2022-0574> (web)

## Sources

- CVE List: [CVE-2022-33082](https://www.cve.org/CVERecord?id=CVE-2022-33082), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2m4x-4q9j-w97g](https://github.com/advisories/GHSA-2m4x-4q9j-w97g), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0574](https://pkg.go.dev/vuln/GO-2022-0574), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2022-33082](https://nvd.nist.gov/vuln/detail/CVE-2022-33082), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-33082 · Whole record: https://cve.day/CVE-2022-33082.json · Rebuilt by cve.day 2026-11-25T22:58:12.657Z
