Information Exposure Affecting github.com/grafana/grafana/pkg/tsdb/sqleng Open this link in a new tab package, versions <8.0.0-beta1
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-GITHUBCOMGRAFANAGRAFANAPKGTSDBSQLENG-1089722
-
published
17 May 2021
-
disclosed
29 Mar 2021
-
credit
Bauyrzhan Yessetov, Md Ishrat Shahriyar
Introduced: 29 Mar 2021
CWE-200 Open this link in a new tabHow to fix?
Upgrade github.com/grafana/grafana/pkg/tsdb/sqleng
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.).