CVE-2022-23628
MEDIUM6.3EPSS 0.31%Incorrect calculation in github.com/open-policy-agent/opa
Published: 2/9/2022Modified: 5/20/2024
Description
Pretty-printing an AST that contains synthetic nodes can change the logic of some statements by reordering array literals.
Affected packages (2)
- Go/github.com/open-policy-agent/opa>= 0.33.1, < 0.37.2
- Go/github.com/open-policy-agent/opa>= 0.33.1, < 0.37.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-23628
- PATCHhttps://github.com/open-policy-agent/opa
- WEBhttps://github.com/open-policy-agent/opa/commit/2bd8edab9e10e2dc9cf76ae8335ced0c224f3055
- WEBhttps://github.com/open-policy-agent/opa/commit/932e4ffc37a590ace79e9b75ca4340288c220239
- WEBhttps://github.com/open-policy-agent/opa/commit/bfd984ddf93ef2c4963a08d4fdadae0bcf1a3717
- WEBhttps://github.com/open-policy-agent/opa/pull/3851
- WEBhttps://github.com/open-policy-agent/opa/security/advisories/GHSA-hcw3-j74m-qc58
- WEBhttps://pkg.go.dev/vuln/GO-2022-0316