CVE-2020-12458
Description
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).
Severity
MEDIUM
CVSS v3
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N · source nvd
Exploit chance (EPSS)
0.488%
chance of exploitation in the next 30 days
higher than 42.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-732: Incorrect Permission Assignment for Critical Resource
Timeline
- 2020-04-29Published by the CNA15:57 UTC
- 2022-05-24GitHub advisory published (GHSA-3jq7-8ph8-63xm)755 days after publication
Exploit and advisory records
GitHub advisory GHSA-3jq7-8ph8-63xm, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/grafana/grafana | before 7.2.1 | 7.2.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| grafana grafana | through 6.7.3no fix listed | not listed |
| fedoraproject fedora | 31no fix listed32no fix listed | not listednot listed |
| redhat ceph_storage | 3.0no fix listed4.0no fix listed | not listednot listed |
| redhat enterprise_linux | 8.0no fix listed | not listed |
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CTQCKJZZYXMCSHJFZZ3YXEO5NUBANGZS/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WEBCIEVSYIDDCA7FTRS2IFUOYLIQU34A/
- https://github.com/grafana/grafana/issues/8283
- https://access.redhat.com/security/cve/CVE-2020-12458
- https://bugzilla.redhat.com/show_bug.cgi?id=1827765
- https://security.netapp.com/advisory/ntap-20200518-0001/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-12458'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-12458'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-12458'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-12458'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).