GO-2024-3141

See a problem?
Source
https://pkg.go.dev/vuln/GO-2024-3141
Import Source
https://vuln.go.dev/ID/GO-2024-3141.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2024-3141
Aliases
Published
2024-09-20T18:51:34Z
Modified
2024-09-20T19:27:09.680050Z
Summary
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.

References

Affected packages

Go / github.com/open-policy-agent/opa

Package

Name
github.com/open-policy-agent/opa
View open source insights on deps.dev
Purl
pkg:golang/github.com/open-policy-agent/opa

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.68.0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/open-policy-agent/opa/loader",
            "symbols": [
                "All",
                "AllRegos",
                "AsBundle",
                "Filtered",
                "FilteredPaths",
                "FilteredPathsFS",
                "GetBundleDirectoryLoader",
                "GetBundleDirectoryLoaderFS",
                "GetBundleDirectoryLoaderWithFilter",
                "allRec",
                "fileLoader.All",
                "fileLoader.AsBundle",
                "fileLoader.Filtered"
            ],
            "goos": [
                "windows"
            ]
        }
    ]
}