Affected versions
Version ranges need review.
- Affected versions
- < 0.40.0
- Fixed version
- 0.40.0
- Affected versions
- <0.40.0
- Fixed version
- 0.40.0
Exploitation
Description
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.
Links
- https://github.com/advisories/GHSA-x7f3-62pm-9p38
- https://github.com/open-policy-agent/opa
- https://github.com/open-policy-agent/opa/commit/e9d3828db670cbe11129885f37f08cbf04935264
- https://github.com/open-policy-agent/opa/pull/4548
- https://nvd.nist.gov/vuln/detail/CVE-2022-28946
- https://pkg.go.dev/vuln/GO-2022-0587
Credits
- Norbert Szetei of Doyensec

