Skip to content
Fencer Vulns
medium 5.5

CVE-2020-12458 json

Grafana information disclosure

published 2020-04-29 6 y ago modified 2026-09-10 1 mo ago also BIT-grafana-2020-12458 , EUVD-2022-2203 , GHSA-3jq7-8ph8-63xm , GO-2024-2513

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 42%
public exploits
0
none known

Summary

An information-disclosure flaw was found in Grafana through 6.7.3. The database directory /var/lib/grafana and database file /var/lib/grafana/grafana.db are world readable. This can result in exposure of sensitive information (e.g., cleartext or encrypted datasource passwords).

Patch / fix

  • go github.com/grafana/grafana 7.2.1
  • bitnami grafana 6.7.4
  • grafana RHEL 8 6.7.4-3.el8
  • grafana-loki RHEL 8 6.7.4-3.el8
  • grafana-mssql RHEL 8 6.7.4-3.el8
  • grafana-mysql RHEL 8 6.7.4-3.el8
  • grafana-graphite RHEL 8 6.7.4-3.el8
  • grafana-influxdb RHEL 8 6.7.4-3.el8
  • grafana-opentsdb RHEL 8 6.7.4-3.el8
  • grafana-postgres RHEL 8 6.7.4-3.el8

red hat advisories RHSA-2020:4682

  • grafana AlmaLinux 8 6.7.4-3.el8
  • grafana-loki AlmaLinux 8 6.7.4-3.el8
  • grafana-mssql AlmaLinux 8 6.7.4-3.el8
  • grafana-mysql AlmaLinux 8 6.7.4-3.el8
  • grafana-graphite AlmaLinux 8 6.7.4-3.el8
  • grafana-influxdb AlmaLinux 8 6.7.4-3.el8
  • grafana-opentsdb AlmaLinux 8 6.7.4-3.el8
  • grafana-postgres AlmaLinux 8 6.7.4-3.el8

almalinux advisories ALSA-2020:4682

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-12458 updated cvss 6.2

grafana: information disclosure through world-readable /var/lib/grafana/grafana.db

  • Red Hat OpenShift Service Mesh 1 servicemesh-grafana, servicemesh-grafana-prometheus
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Ceph Storage 2 grafana
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Ceph Storage 3 grafana, grafana-container Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 3.11 openshift3/grafana Red Hat OpenShift Container Platform 4 openshift4/ose-grafana
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Storage 3 grafana
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 8) grafana 6.7.4-3.el8, grafana-loki 6.7.4-3.el8, grafana-mssql 6.7.4-3.el8, grafana-mysql 6.7.4-3.el8, grafana-graphite 6.7.4-3.el8, grafana-influxdb 6.7.4-3.el8, +7 more
    fixed: vendor fix RHSA-2020:4682

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/grafana/grafana/issues/8283 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
GitHub 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N
OSV 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
go github.com/grafana/grafana
<7.2.1
all versions
7.2.1
bitnami grafana
<6.7.4
6.7.4

Classification

Weakness
  • CWE-312 Cleartext Storage of Sensitive Information
  • CWE-732 Incorrect Permission Assignment for Critical Resource

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.