Go Vulnerability Database
GO-2024-3141
OPA for Windows has an SMB force-authentication vulnerability in github.com/open-policy-agent/opa
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/open-policy-agent/opa | All versions before 0.68.0 (fixed in 0.68.0) |