{
  "schema_version": "1.4.0",
  "id": "GHSA-rm28-h995-22q5",
  "modified": "2022-06-05T00:00:24Z",
  "published": "2022-05-24T17:49:19Z",
  "aliases": [
    "CVE-2021-31231"
  ],
  "details": "The Alertmanager in Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1 has a local file disclosure vulnerability when experimental.alertmanager.enable-api is used. The HTTP basic auth password_file can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
    }
  ],
  "affected": [],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31231"
    },
    {
      "type": "WEB",
      "url": "https://community.grafana.com/c/security-announcements"
    },
    {
      "type": "WEB",
      "url": "https://grafana.com/docs/metrics-enterprise"
    },
    {
      "type": "WEB",
      "url": "https://grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021"
    },
    {
      "type": "WEB",
      "url": "https://grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021"
    },
    {
      "type": "WEB",
      "url": "https://security.netapp.com/advisory/ntap-20210611-0001"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-20"
    ],
    "severity": "MODERATE",
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2021-04-30T13:15:00Z"
  }
}