CWE
732 312
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2020-12458

First published: Thu 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).

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
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

Remedy

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2020-12458?

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

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

  • How severe is CVE-2020-12458?

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

  • How can I fix CVE-2020-12458?

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

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203