Information Exposure Affecting package, versions <0.20.1 >=0.21.0 <0.21.2



    Attack Complexity Low
Expand this section
7.5 high

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
  • published 9 Dec 2021
  • disclosed 9 Dec 2021
  • credit Unknown

How to fix?

Upgrade to version 0.20.1, 0.21.2 or higher.

Overview is a Grafana Agent is a telemetry collector for sending metrics, logs, and trace data to the opinionated Grafana observability stack.

Affected versions of this package are vulnerable to Information Exposure via inline secrets defined within a metrics instance config, which are exposed in plaintext over two endpoints: metrics instance configs defined in the base YAML file are exposed at /-/config and metrics instance configs defined for the scraping service are exposed at /agent/api/v1/configs/:key. Inline secrets will be exposed to anyone being able to reach these endpoints. If HTTPS with client authentication is not configured, these endpoints are accessible to unauthenticated users. This does not apply for non-inlined secrets, such as *_file based secrets.