Incorrect calculation in github.com/open-policy-agent/opa
At a glance
- Source
- OSV
- Published
- Updated
- CVE
- CVE-2022-23628
- Aliases
- GHSA-hcw3-j74m-qc58
- CVE severity
- MEDIUM 6.3 · CVE-2022-23628
Description
Pretty-printing an AST that contains synthetic nodes can change the logic of some statements by reordering array literals.
References
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/open-policy-agent/opa | introduced 0.33.1, fixed 0.37.2 |
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |