CVE-2022-33082 Denial of service in Open Policy Agent
Attackers can cause a Denial of Service in Open Policy Agent by submitting crafted input to the AST parser.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-33082?
CVE-2022-33082 is a high-severity denial of service vulnerability in n/a, published on 30 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-33082?
3 open source packages ship an affected version, including github.com/open-policy-agent/opa. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/open-policy-agent/opa Go | All versions | 0.42.0 |
github.com/open-policy-agent/opa Go | All versions | 0.42.0 |
github.com/open-policy-agent/opa Go | All versions | 0.42.0 |
Products include Openpolicyagent Open Policy Agent.
How do I fix CVE-2022-33082?
Upgrade github.com/open-policy-agent/opa to 0.42.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-33082 being exploited?
There is no known exploitation of CVE-2022-33082 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-2m4x-4q9j-w97g, GO-2022-0574.