CVE-2021-43815 json
Grafana directory traversal for `.cvs` files
published 2021-12-10 4 y ago modified 2026-09-08 2 mo ago also BIT-grafana-2021-43815 , EUVD-2024-1473 , GHSA-7533-c8qv-jm9m
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
Grafana is an open-source platform for monitoring and observability. Grafana prior to versions 8.3.2 and 7.5.12 has a directory traversal for arbitrary .csv files. It only affects instances that have the developer testing tool called TestData DB data source enabled and configured. The vulnerability is limited in scope, and only allows access to files with the extension .csv to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Versions 8.3.2 and 7.5.12 contain a patch for this issue. There is a workaround available for users who cannot upgrade. Running a reverse proxy in front of Grafana that normalizes the PATH of the request will mitigate the vulnerability. The proxy will have to also be able to handle url encoded paths.
Patch / fix
- go github.com/grafana/grafana 8.3.2
- bitnami grafana 7.5.12, 8.3.2
- grafana grafana 7.5.12, 8.3.2
- grafana Manager Client Tools 15 9.5.8-150000.1.60.2
- spacecmd openSUSE Leap 15.5, Manager Client Tools 15 4.3.26-150000.3.113.1
- mgr-daemon Manager Client Tools 15 4.3.8-150000.1.44.1
- spacewalk-client-tools Manager Client Tools 15 4.3.18-150000.3.86.2
- prometheus-postgres_exporter openSUSE Leap 15.5, Manager Client Tools 15 0.10.1-150000.1.17.1
- uyuni-proxy-systemd-services Manager Client Tools for SLE Micro 5, Manager Client Tools 15 4.3.10-150000.1.15.1
- golang-github-prometheus-prometheus Manager Client Tools 15 2.45.0-150000.3.53.1
- golang-github-lusitaniae-apache_exporter openSUSE Leap 15.5, Manager Server Module 4.3, Manager Proxy Module 4.3 +1 more 1.0.0-150000.1.20.1
suse advisories SUSE-SU-2024:0487-1SUSE-SU-2024:0486-1SUSE-SU-2024:0196-1SUSE-SU-2024:0191-1SUSE-SU-2022:4439-1SUSE-SU-2022:4437-1
- grafana openSUSE Tumbleweed 10.1.5-2.1
opensuse advisories openSUSE-SU-2024:13586-1
- grafana Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 8.3.2-r0
alpine advisories ALPINE-CVE-2021-43815
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- grafana Arch Linux 8.3.1-1
arch linux advisories AVG-2609
- github.com/grafana/grafana@fd48aee commit
- github.com/grafana/grafana@d6ec6f8 commit
- github.com/grafana/grafana/releases/tag/v8.3.2 release
- grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-mod… advisory
- github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m advisory
- openwall.com/lists/oss-security/2021/12/10/4 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-43815 updated cvss 4.3
grafana: directory traversal for .csv files
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheus Red Hat OpenShift Service Mesh 2.1 servicemesh-grafanaaffected: no fix available
-
Red Hat Ceph Storage 2 grafana Red Hat Ceph Storage 3 grafana, grafana-containeraffected: no fix planned “Out of support scope”
-
Red Hat Advanced Cluster Management for Kubernetes 2 grafana Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8 Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 more Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat OpenShift Container Platform 3.11 openshift3/grafananot affected: vulnerable code not present
+2 more productsfewer
Red Hat OpenShift Container Platform 4 openshift4/ose-grafana Red Hat Storage 3 grafana
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.87% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:P/I:N/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/grafana/grafana | >=8.0.0-beta3, <8.3.2 |
8.3.2 |
| bitnami | grafana | <7.5.12 >=8.0.0, <8.3.2 |
7.5.12 8.3.2 |
Affected products
- grafana grafana
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d
web, patch, third-party-advisory, advisory
-
github.com
/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3
web, patch, third-party-advisory, advisory
-
grafana.com
/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/
patch, third-party-advisory, advisory
-
github.com
/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m
web, patch, third-party-advisory, advisory
-
openwall.com
/lists/oss-security/2021/12/10/4
mailing-list, web, patch, third-party-advisory, advisory
-
github.com
/grafana/grafana/releases/tag/v8.3.2
web, release-notes, third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20220107-0006/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-43815
advisory, web
-
github.com
/grafana/grafana
package
-
grafana.com
/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix
web
-
security.netapp.com
/advisory/ntap-20220107-0006
web
Sources
- CVE List CVE-2021-43815
- GitHub Advisory GHSA-7533-c8qv-jm9m
- NVD CVE-2021-43815
- OSV BIT-grafana-2021-43815
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.