Skip to content
Fencer Intel
medium 5.5

CVE-2020-12459 json

Grafana world readable configuration files

published 6y ago modified last mo. also BIT-grafana-2020-12459 , EUVD-2022-4464 , GHSA-m25m-5778-fm22 , GO-2024-2519

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

Summary

In certain Red Hat packages for Grafana 6.x through 6.3.6, the configuration files /etc/grafana/grafana.ini and /etc/grafana/ldap.toml (which contain a secret_key and a bind_password) are world readable.

Patch / fix

  • go github.com/grafana/grafana 7.2.1
  • bitnami grafana 6.3.7
  • 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:4682RHSA-2020:2362

  • 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

Is CVE-2020-12459 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-12459 updated cvss 6.2

grafana: information disclosure through world-readable grafana configuration files

  • Red Hat Ceph Storage 2 grafana
    affected: workaround, no fix planned “Manually change the files permission to remove readable bits for others: # chmod 640 /etc/grafana/grafana.ini /etc/grafana/ldap.toml”
  • Red Hat OpenShift Container Platform 3.11 openshift3/grafana Red Hat OpenShift Container Platform 4 openshift4/ose-grafana
    affected: workaround, no fix available “Manually change the files permission to remove readable bits for others: # chmod 640 /etc/grafana/grafana.ini /etc/grafana/ldap.toml”
  • Red Hat OpenShift Service Mesh 1.0 servicemesh-grafana 6.2.2-36.el8, servicemesh-grafana-prometheus 6.2.2-36.el8
    fixed: vendor fix “Manually change the files permission to remove readable bits for others: # chmod 640 /etc/grafana/grafana.ini /etc/grafana/ldap.toml” RHSA-2020:2362
  • 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 “Manually change the files permission to remove readable bits for others: # chmod 640 /etc/grafana/grafana.ini /etc/grafana/ldap.toml” RHSA-2020:4682
  • Red Hat OpenShift Service Mesh 1.0 kiali v1.0.11.redhat1-1.el7, jaeger v1.13.1.redhat7-1.el7
    fixed: vendor fix “Manually change the files permission to remove readable bits for others: # chmod 640 /etc/grafana/grafana.ini /etc/grafana/ldap.toml” RHSA-2020:2362
  • Red Hat Ceph Storage 3 grafana, grafana-container Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat Storage 3 grafana
    not affected: vulnerable code not present

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.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-09).

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
>=6.0.0-beta1, <7.2.1
all versions
7.2.1
bitnami grafana
>=6.0.0, <6.3.7
6.3.7

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-732 Incorrect Permission Assignment for Critical Resource

References

Sources

Fencer Intel 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.