CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NMedium (5.5). EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/grafana/grafana 7.2.1.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Ngithub.com/grafana/grafana (Go): fixed in 7.2.1Explain CVE-2020-12458 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12458?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12458?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-12458 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| grafana:grafana | through 6.7.3 |
| redhat:ceph_storage | 3.0 |
| redhat:ceph_storage | 4.0 |
| redhat:enterprise_linux | 8.0 |
| fedoraproject:fedora | 31 |
| fedoraproject:fedora | 32 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-3jq7-8ph8-63xm | Go | github.com/grafana/grafana | <7.2.1 | 7.2.1 |
| GO-2024-2513 | Go | github.com/grafana/grafana | all versions | no fix published |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 16.04:LTS | grafana | no fix listed | UBUNTU-CVE-2020-12458 |
| Red Hat | enterprise_linux:8::appstream | grafana, grafana-loki, grafana-mssql and 11 more | 0:6.7.4-3.el8 | RHSA-2020:4682 |
| AlmaLinux | 8 | grafana, grafana-loki, grafana-mssql and 10 more | 6.7.4-3.el8 | ALSA-2020:4682 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat.
Red Hat rates this Moderate.
The versions of grafana shipped with Red Hat Gluster Storage 3, Red Hat Ceph Storage 3 and 4 sets the world readable permissions on grafana database directory and file, hence affected by this vulnerability.
In both OpenShift Container Platform (OCP) and OpenShift ServiceMesh (OSSM), the grafana containers set their database files to world readable. However, as it's run in a container image with SELinux MCS labels this prevents other processes on the host from reading it. Therefore, for both (OCP and OSSM) the impact is low.
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
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | grafana-0:6.7.4-3.el8 | Fixed 2020-11-04 | RHSA-2020:4682 |
| OpenShift Service Mesh 1 | servicemesh-grafana | Fix deferred | |
| Red Hat Ceph Storage 2 | grafana | Out of support scope | |
| Red Hat Ceph Storage 3 | grafana | Will not fix | |
| Red Hat Ceph Storage 3 | grafana-container | Will not fix | |
| Red Hat Ceph Storage 4 | rhceph/rhceph-4-dashboard-rhel8 | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | openshift3/grafana | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-grafana | Fix deferred | |
| Red Hat Storage 3 | grafana | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-12458.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).