OPA for Windows has an SMB force-authentication vulnerability. Due to improper input validation, it allows a user to pass an arbitrary SMB share instead of a Rego file as an argument to OPA CLI or to one of the OPA Go library’s functions.
{
"url": "https://pkg.go.dev/vuln/GO-2024-3141",
"review_status": "REVIEWED"
}{
"imports": [
{
"goos": [
"windows"
],
"symbols": [
"All",
"AllRegos",
"AsBundle",
"Filtered",
"FilteredPaths",
"FilteredPathsFS",
"GetBundleDirectoryLoader",
"GetBundleDirectoryLoaderFS",
"GetBundleDirectoryLoaderWithFilter",
"allRec",
"fileLoader.All",
"fileLoader.AsBundle",
"fileLoader.Filtered"
],
"path": "github.com/open-policy-agent/opa/loader"
}
]
}