critical5.9
CVE-2024-8986
Grafana plugin SDK Information Leakage
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/grafana/grafana-plugin-sdk-go | <= 0.249.0 | 0.250.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://grafana.com/security/security-advisories/cve-2024-8986/
- https://github.com/advisories/GHSA-xxxw-3j6h-q7h6
- https://nvd.nist.gov/vuln/detail/CVE-2024-8986
- https://grafana.com/security/security-advisories/cve-2024-8986
- https://github.com/grafana/grafana-plugin-sdk-go/commit/aaa26d1bebaaf6160c37d3f1226a750eab70ca41
- https://pkg.go.dev/vuln/GO-2024-3140