github.com/open-policy-agent/opa
Affected
- introduced
0.40.0, fixed0.44.0(semver)
Fixed versions
0.44.0
Fix
- Fixed version
0.44.0go get github.com/open-policy-agent/[email protected]
Advisory
Also known as: CVE-2022-36085, GHSA-f524-rf33-2jjr
Protection bypass in github.com/open-policy-agent/opa
Open Policy Agent (OPA) is an open source, general-purpose policy engine. The Rego compiler provides a (deprecated) WithUnsafeBuiltins function, which allows users to provide a set of built-in functions that should be deemed unsafe and rejected by the compiler if encountered in the policy compilation stage.
A bypass of this protection is possible when using the "with" keyword to mock a built-in function that isn't taken into account by WithUnsafeBuiltins.
Not rated by the source.
0.40.0, fixed 0.44.0 (semver)0.44.0
0.44.0go get github.com/open-policy-agent/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0