CVE-2020-12458: Medium severity grafana labs grafana oss and enterprise vulnerability

Published Apr 23, 2020
·
Updated

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).

Other sources

An information-disclosure flaw was found in Grafana. 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).

GitHub

An information-disclosure flaw was found in the way Grafana set permissions for the database directory and file. This flaw allows a local attacker access to potentially sensitive information such as cleartext or encrypted datasource passwords from /var/lib/grafana/grafana.db.

Affected Software

8 affected componentsFixes available
redhat/grafana<0:6.7.4-3.el8
0:6.7.4-3.el8
go/github.com/grafana/grafana<7.2.1
7.2.1
Grafana Grafana<=6.7.3
redhat Ceph Storage=3.0
redhat Ceph Storage=4.0
redhat Enterprise Linux=8.0
Fedoraproject Fedora=31
Fedoraproject Fedora=32

Remediation

Information

Manually change the directory and files permissions to remove readable bits for others: # chmod 750 /var/lib/grafana # chmod 640 /var/lib/grafana/grafana.db # chown grafana:grafana /var/lib/grafana/grafana.db

Event History

Apr 23, 2020
CVE Published
08:00 PM
Apr 24, 2020
Data Sourced
via Red Hat·06:17 PM
DescriptionSeverityAffected Software
Apr 29, 2020
CVE Published
via MITRE·03:57 PM
Data Sourced
via MITRE·03:57 PM
Description
May 24, 2022
Advisory Published
via GitHub·05:16 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-12458?

CVE-2020-12458 is an information-disclosure vulnerability found in Grafana through version 6.7.3.

2

How does CVE-2020-12458 affect Grafana?

CVE-2020-12458 allows the world-readable permissions for the database directory and file in Grafana, which can expose sensitive information such as cleartext or encrypted datasource passwords.

3

How severe is CVE-2020-12458?

CVE-2020-12458 has a severity rating of 6.2 (Medium).

4

How can I fix CVE-2020-12458?

To fix CVE-2020-12458, upgrade Grafana to version 6.7.4-3.el8 or higher.

5

Where can I find more information about CVE-2020-12458?

You can find more information about CVE-2020-12458 at the following references: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203