CVE-2020-12459 json
Grafana world readable configuration files
published 2020-04-29 6 y ago modified 2026-09-10 1 mo ago 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
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 grafanaaffected: 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-grafanaaffected: 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.el8fixed: 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 morefixed: 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.el7fixed: 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 grafananot 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-08).
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
References
-
src.fedoraproject.org
/rpms/grafana/c/fab93d67363eb0a9678d9faf160cc88237f26277
web, patch, third-party-advisory, advisory
-
github.com
/grafana/grafana/commit/102448040d5132460e3b0013e03ebedec0677e00
web, patch
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CTQCKJZZYXMCSHJFZZ3YXEO5NUBANGZS/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/WEBCIEVSYIDDCA7FTRS2IFUOYLIQU34A/
vendor-advisory, web
-
github.com
/grafana/grafana/issues/8283
web, vendor-advisory, advisory, report
-
access.redhat.com
/security/cve/CVE-2020-12459
web, third-party-advisory, advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1829724
web, issue-tracking, third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20200518-0004/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-12459
advisory, web
-
bugzilla.redhat.com
/show_bug.cgi?id=1827765
web
-
github.com
/grafana/grafana
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/CTQCKJZZYXMCSHJFZZ3YXEO5NUBANGZS
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/WEBCIEVSYIDDCA7FTRS2IFUOYLIQU34A
web
-
security.netapp.com
/advisory/ntap-20200518-0004
web
-
github.com
/advisories/GHSA-m25m-5778-fm22
advisory
Sources
- CVE List CVE-2020-12459
- GitHub Advisory GHSA-m25m-5778-fm22
- NVD CVE-2020-12459
- OSV BIT-grafana-2020-12459
- OSV GO-2024-2519
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.