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-prometheusaffected: workaround, no fix available “Fix deferred”
-
Red Hat Ceph Storage 2 grafanaaffected: 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-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 3.11 openshift3/grafana Red Hat OpenShift Container Platform 4 openshift4/ose-grafanaaffected: workaround, no fix available “Fix deferred”
-
Red Hat Storage 3 grafanaaffected: 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 morefixed: 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
References
-
github.com
/grafana/grafana/commit/102448040d5132460e3b0013e03ebedec0677e00
web, patch
-
github.com
/grafana/grafana/issues/8283
web, exploit, issue-tracking, third-party-advisory, advisory, report
-
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
-
bugzilla.redhat.com
/show_bug.cgi?id=1827765
web, issue-tracking, third-party-advisory, advisory
-
access.redhat.com
/security/cve/CVE-2020-12458
web, third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20200518-0001/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-12458
advisory, 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-0001
web
-
github.com
/advisories/GHSA-3jq7-8ph8-63xm
advisory
Sources
- CVE List CVE-2020-12458
- GitHub Advisory GHSA-3jq7-8ph8-63xm
- NVD CVE-2020-12458
- OSV BIT-grafana-2020-12458
- OSV GO-2024-2513
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.