Information Leakage in grafana-plugin-sdk-go

Critical
Advisory ID:CVE-2024-8986
Published:2024-09-19
Product:Grafana Plugin SDK
CVSS Score:9.1
CVSS Vector:CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H/AU:Y/R:U/RE:L
Fixed Versions:
>0.249.0

Summary

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.

This vulnerability only impacts the plugin build process and has no impact on any Grafana binary built with this SDK.

Versions impacted: all versions <=0.249.0.