CVE-2021-43813 json
Directory Traversal in Grafana
published 2021-12-10 4 y ago modified 2026-09-08 2 mo ago also BIT-grafana-2021-43813 , EUVD-2021-30698 , GHSA-c3q8-26ph-9g2q
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 56.6%
- EPSS 56.6% chance of exploitation in 30 days, percentile 99%
- 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 contains a directory traversal vulnerability for fully lowercase or fully uppercase .md files. The vulnerability is limited in scope, and only allows access to files with the extension .md to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Users should upgrade to patched versions 8.3.2 or 7.5.12. 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. Alternatively, for fully lowercase or fully uppercase .md files, users can block /api/plugins/.*/markdown/.* without losing any functionality beyond inlined plugin help text.
Patch / fix
- bitnami grafana 7.5.12, 8.3.2
- grafana grafana 7.5.12, 8.3.2
- grafana RHEL 8 7.5.11-2.el8
red hat advisories RHSA-2022:1781
- rhnlib Manager Client Tools 15-BETA 5.0.1-159000.6.30.1
- ansible Manager Client Tools 15-BETA 2.9.27-159000.3.9.1
- grafana Manager Client Tools 15-BETA 9.5.8-159000.4.24.1
- mgr-push Manager Client Tools 15-BETA 5.0.1-159000.4.21.1
- spacecmd Manager Client Tools 15-BETA 5.0.1-159000.6.42.1
- python-hwdata Manager Client Tools 15-BETA 2.3.5-159000.5.13.1
- python-pyvmomi Manager Client Tools 15-BETA 6.7.3-159000.3.6.1
- dracut-saltboot Manager Client Tools Beta for SLE Micro 5, Manager Client Tools 15-BETA 0.1.1681904360.84ef141-159000.3.30.1
suse advisories SUSE-SU-2024:0196-1SUSE-SU-2024:0191-1SUSE-SU-2022:4439-1SUSE-SU-2022:4437-1SUSE-SU-2022:4428-1SUSE-SU-2022:3425-1
- grafana openSUSE Tumbleweed 7.5.12-1.1
- grafana openSUSE Leap 15.3 7.5.12-3.18.1
opensuse advisories openSUSE-SU-2024:11694-1openSUSE-SU-2022:0140-1
- grafana AlmaLinux 8 7.5.11-2.el8
almalinux advisories ALSA-2022:1781
- grafana Rocky Linux 8 7.5.11-2.el8
rocky linux advisories RLSA-2022:1781
- grafana Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 8.3.2-r0
alpine advisories ALPINE-CVE-2021-43813
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/github/securitylab-vulnerabilities@689fc5d commit
- github.com/grafana/grafana@fd48aee commit
- github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q advisory
- grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-mod… 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-43813 updated cvss 4.3
grafana: directory traversal vulnerability
-
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 Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat OpenShift Container Platform 3.11 openshift3/grafana Red Hat Storage 3 grafanaaffected: no fix available “Fix deferred”
-
Red Hat Ceph Storage 5.2 Tools rhceph/rhceph-5-dashboard-rhel8 5-56fixed: vendor fix RHSA-2022:6024
-
Red Hat Enterprise Linux AppStream (v. 8) grafana 7.5.11-2.el8fixed: vendor fix RHSA-2022:1781
-
Red Hat OpenShift Container Platform 4.10 openshift4/ose-grafana v4.10.0-202202160023.p0.g48aec35.assembly.streamfixed: vendor fix RHSA-2022:0056
-
Red Hat Advanced Cluster Management for Kubernetes 2 grafana Red Hat Ceph Storage 5.2 Tools rhceph/rhceph-5-rhel8 5-268, rhceph/keepalived-rhel8 2.1.5-16, rhceph/snmp-notifier-rhel8 1.2.1-16, rhceph/rhceph-haproxy-rhel8 2.2.19-9 Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat OpenShift Container Platform 4.10 openshift4/ose-cli v4.10.0-202202160843.p0.gf93da17.assembly.stream, openshift4/ose-pod v4.10.0-202202251728.p0.ge419edf.assembly.stream, openshift4/ose-etcd v4.10.0-202202160023.p0.g7bbf25a.assembly.stream, openshift4/ose-tests v4.10.0-202202221318.p0.gc1d9068.assembly.stream, openshift4/ose-console v4.10.0-202202240423.p0.gb6503ff.assembly.stream, openshift4/ose-coredns v4.10.0-202202160023.p0.g3ec1ee7.assembly.stream, +159 morenot 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
56.59% chance of exploitation in the next 30 days, higher than 99% 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 |
| 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 | 4.0 | AV:N/AC:L/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 |
|---|---|---|---|
| bitnami | grafana | >=5.0.0, <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
/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f
broken-link, web
-
github.com
/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d
patch, third-party-advisory, advisory
-
github.com
/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q
patch, release-notes, 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, release-notes, vendor-advisory, advisory
-
openwall.com
/lists/oss-security/2021/12/10/4
mailing-list, patch, release-notes, third-party-advisory, advisory
-
grafana.com
/docs/grafana/latest/release-notes/release-notes-7-5-12/
release-notes, vendor-advisory, advisory
-
grafana.com
/docs/grafana/latest/release-notes/release-notes-8-3-2/
release-notes, vendor-advisory, advisory
-
security.netapp.com
/advisory/ntap-20220107-0006/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-43813
web
Sources
- CVE List CVE-2021-43813
- NVD CVE-2021-43813
- OSV BIT-grafana-2021-43813
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.