Skip to content
Fencer Vulns
medium 4.3

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

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-grafana
    affected: no fix available
  • Red Hat Ceph Storage 2 grafana Red Hat Ceph Storage 3 grafana, grafana-container
    affected: 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/grafana
    +2 more products
    Red Hat OpenShift Container Platform 4 openshift4/ose-grafana Red Hat Storage 3 grafana
    not affected: vulnerable code not present

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

Sources

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.