CVE-2020-12458 Grafana information disclosure

Medium 5.5 Published Updated

Local attackers can read Grafana database files to expose sensitive information like datasource passwords due to world-readable permissions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-12458?

CVE-2020-12458 is a medium-severity vulnerability in Fedoraproject Fedora, published on 29 Apr 2020. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-732

Which versions are affected by CVE-2020-12458?

4 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 4 products.

PackageAffectedFixed in
github.com/grafana/grafana GoAll versionsNone
github.com/grafana/grafana GoAll versions7.2.1
github.com/grafana/grafana GoAll versions7.2.1
grafana BitnamiAll versions6.7.4

Products include Fedoraproject Fedora, Grafana Grafana, Redhat Ceph Storage, Redhat Enterprise Linux.

How do I fix CVE-2020-12458?

Upgrade github.com/grafana/grafana to 7.2.1 or later.

Is CVE-2020-12458 being exploited?

There is no known exploitation of CVE-2020-12458 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-grafana-2020-12458, GHSA-3jq7-8ph8-63xm, GO-2024-2513, MINI-2xq5-hmr3-vwwm, MINI-2xvh-mf94-pw3j, MINI-55gq-wxfr-7g4r and 15 more.

Is CVE-2020-12458 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free