blob: b5ff0baa8088bdc01c1e6fab45501aeb918bf408 [file] [log] [blame]
{
"id": "GO-2022-0316",
"published": "2022-07-27T20:27:33Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-23628",
"GHSA-hcw3-j74m-qc58"
],
"details": "Pretty-printing an AST that contains synthetic nodes can change the logic of some statements by reordering array literals.",
"affected": [
{
"package": {
"name": "github.com/open-policy-agent/opa",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.33.1"
},
{
"fixed": "0.37.2"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0316"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/open-policy-agent/opa/format",
"symbols": [
"Ast",
"MustAst",
"Source",
"groupIterable"
]
}
]
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/open-policy-agent/opa/security/advisories/GHSA-hcw3-j74m-qc58"
},
{
"type": "FIX",
"url": "https://github.com/open-policy-agent/opa/commit/932e4ffc37a590ace79e9b75ca4340288c220239"
},
{
"type": "WEB",
"url": "https://github.com/open-policy-agent/opa/commit/2bd8edab9e10e2dc9cf76ae8335ced0c224f3055"
}
],
"schema_version": "1.3.1"
}