VDB
Sign up
MEDIUM5.9

GHSA-xxxw-3j6h-q7h6

Grafana plugin SDK Information Leakage

Quick fix

GHSA-xxxw-3j6h-q7h6 — github.com/grafana/grafana-plugin-sdk-go: upgrade to the fixed version with the command below.

go get github.com/grafana/grafana-plugin-sdk-go@v0.250.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/grafana/grafana-plugin-sdk-go
Introduced in: 0Fixed in: 0.250.0
Fixgo get github.com/grafana/grafana-plugin-sdk-go@v0.250.0

References