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.0Details
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.0Fix
go get github.com/grafana/grafana-plugin-sdk-go@v0.250.0References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8986[ADVISORY]
- https://github.com/grafana/grafana-plugin-sdk-go/commit/aaa26d1bebaaf6160c37d3f1226a750eab70ca41[WEB]
- https://github.com/grafana/grafana-plugin-sdk-go[PACKAGE]
- https://grafana.com/security/security-advisories/cve-2024-8986[WEB]
- https://pkg.go.dev/vuln/GO-2024-3140[WEB]