Information Exposure Affecting github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent package, versions <0.12.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.06% (27th percentile)

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 IDSNYK-GOLANG-GITHUBCOMGRAFANASYNTHETICMONITORINGAGENTCMDSYNTHETICMONITORINGAGENT-3151541
  • published1 Dec 2022
  • disclosed1 Dec 2022
  • creditWilliam Bartholomew

Introduced: 1 Dec 2022

CVE-2022-46156  (opens in a new tab)
CWE-489  (opens in a new tab)

How to fix?

Upgrade github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent to version 0.12.0 or higher.

Overview

github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent is a worker for Grafana's Synthetic Monitoring application

Affected versions of this package are vulnerable to Information Exposure via the debug pprof endpoint, which exposes the authentication token used to communicate with the Synthetic Monitoring API.

Note: This vulnerability can be worked around by reviewing the agent settings in /etc/synthetic-monitoring/synthetic-monitoring-agent.conf and setting the HTTP listening address to localhost or a non-routed network, with the command line parameter -listen-address.

CVSS Scores

version 3.1