high7.5
CVE-2022-28946
Out of bounds memory access in github.com/open-policy-agent/opa
Impact
An issue in the component ast/parser.go of Open Policy Agent v0.39.0 causes the application to incorrectly interpret every expression, causing a Denial of Service (DoS) via triggering out-of-range memory access.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/open-policy-agent/opa | < 0.40.0 | 0.40.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Openpolicyagent | Open Policy Agent | Version 0.39.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/open-policy-agent/opa/commit/e9d3828db670cbe11129885f37f08cbf04935264
- https://github.com/advisories/GHSA-x7f3-62pm-9p38
- https://nvd.nist.gov/vuln/detail/CVE-2022-28946
- https://github.com/open-policy-agent/opa/pull/4548
- https://pkg.go.dev/vuln/GO-2022-0587