Information Exposure Affecting github.com/grafana/grafana/pkg/tsdb/mssql package, versions <8.0.0-beta1


0.0
medium

Snyk CVSS

    Attack Complexity Low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMGRAFANAGRAFANAPKGTSDBMSSQL-1089721
  • published 17 May 2021
  • disclosed 29 Mar 2021
  • credit Bauyrzhan Yessetov, Md Ishrat Shahriyar

How to fix?

Upgrade github.com/grafana/grafana/pkg/tsdb/mssql to version 8.0.0-beta1 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure. Grafana allows any user to add data sources by the source host and port. However, when Grafana connects to these data sources, it reveals the host and port as part of the error response messages, as well as other information from which one an attacker could infer the state of the host and port (port is open, closed, http, non-http, etc.).