GO-2022-0316
Dashboard / Vulnerabilities / GO-2022-0316
GO-2022-0316
Published: 27 Jul 2022Last Modified: 20 May 2024
Aliases:
Summary: Incorrect calculation in github.com/open-policy-agent/opa
Details: Pretty-printing an AST that contains synthetic nodes can change the logic of some statements by reordering array literals.
References: https://github.com/open-policy-agent/opa/security/advisories/GHSA-hcw3-j74m-qc58, https://github.com/open-policy-agent/opa/commit/932e4ffc37a590ace79e9b75ca4340288c220239, https://github.com/open-policy-agent/opa/commit/2bd8edab9e10e2dc9cf76ae8335ced0c224f3055
Affected packages
Package
Name: github.com/open-policy-agent/opa
Purl: pkg:golang/github.com/open-policy-agent/opa
Affected ranges
Type: SEMVER
Events:
Introduced- 0.33.1
Fixed -0.37.2
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
