GO-2024-3140

Source
https://pkg.go.dev/vuln/GO-2024-3140
Import Source
https://vuln.go.dev/ID/GO-2024-3140.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2024-3140
Aliases
Published
2024-11-20T17:22:48Z
Modified
2024-12-12T15:46:32Z
Summary
Grafana plugin SDK Information Leakage in github.com/grafana/grafana-plugin-sdk-go
Details

The grafana plugin SDK bundles build metadata into the binaries it compiles; this metadata includes the repository URI for the plugin being built, as retrieved by running "git remote get-url origin".

If credentials are included in the repository URI (for instance, to allow for fetching of private dependencies), the final binary will contain the full URI, including said credentials.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2024-3140"
}
References

Affected packages

Go / github.com/grafana/grafana-plugin-sdk-go

Package

Name
github.com/grafana/grafana-plugin-sdk-go
View open source insights on deps.dev
Purl
pkg:golang/github.com/grafana/grafana-plugin-sdk-go

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/grafana/grafana-plugin-sdk-go/build",
            "symbols": [
                "Build.Backend",
                "Build.Darwin",
                "Build.DarwinARM64",
                "Build.Debug",
                "Build.DebugDarwinAMD64",
                "Build.DebugDarwinARM64",
                "Build.DebugLinuxAMD64",
                "Build.DebugLinuxARM64",
                "Build.DebugWindowsAMD64",
                "Build.Linux",
                "Build.LinuxARM",
                "Build.LinuxARM64",
                "Build.Windows",
                "Info.appendFlags",
                "getBuildBackendCmdInfo",
                "getBuildInfoFromEnvironment",
                "getEnvironment"
            ]
        }
    ]
}