CVE-2021-43813
published medium CVSS 3.1 · 4.3Directory Traversal in Grafana
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| grafana | — | grafana>= 5.0.0, < 7.5.12 · >= 8.0.0, < 8.3.2 | Affected | Not stated | GitHub_M |
| AlmaLinux | 8 | grafana | Advisory build | 7.5.11-2.el8 | ALSA-2022:1781 |
| Alpine Linux | edge | grafana | Fixed | 8.3.2-r0 | Package fix record |
| Oracle Linux | 8 | grafanaaarch64 | Advisory build | 0:7.5.11-2.el8 | ELSA-2022-1781 |
| Red Hat Enterprise Linux | RHEL-8 | grafanaaarch64 | Advisory build | 7.5.11-2.el8 | RHSA-2022:1781 |
| SUSE / openSUSE | SLE-15-SP4 | grafanaaarch64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| Rocky Linux | 8 | grafanaaarch64 | Listed in advisory | Not stated | RLSA-2022:1781 |
| Alpine Linux | v3.16 | grafana | Fixed | 8.3.2-r0 | Package fix record |
Show 86 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.17 | grafana | Fixed | 8.3.2-r0 | Package fix record |
| Alpine Linux | v3.18 | grafana | Fixed | 8.3.2-r0 | Package fix record |
| Alpine Linux | v3.19 | grafana | Fixed | 8.3.2-r0 | Package fix record |
| Alpine Linux | v3.20 | grafana | Fixed | 8.3.2-r0 | Package fix record |
| Alpine Linux | v3.21 | grafana | Fixed | 8.3.2-r0 | Package fix record |
| Alpine Linux | v3.22 | grafana | Fixed | 8.3.2-r0 | Package fix record |
| Alpine Linux | v3.23 | grafana | Fixed | 8.3.2-r0 | Package fix record |
| Alpine Linux | v3.24 | grafana | Fixed | 8.3.2-r0 | Package fix record |
| Oracle Linux | 8 | grafanax86_64 | Advisory build | 0:7.5.11-2.el8 | ELSA-2022-1781 |
| Red Hat Enterprise Linux | RHEL-8 | grafanappc64le | Advisory build | 7.5.11-2.el8 | RHSA-2022:1781 |
| Red Hat Enterprise Linux | RHEL-8 | grafanas390x | Advisory build | 7.5.11-2.el8 | RHSA-2022:1781 |
| Red Hat Enterprise Linux | RHEL-8 | grafanasrc | Advisory build | 7.5.11-2.el8 | RHSA-2022:1781 |
| Red Hat Enterprise Linux | RHEL-8 | grafanax86_64 | Advisory build | 7.5.11-2.el8 | RHSA-2022:1781 |
| SUSE / openSUSE | SLE-15-SP4 | grafanappc64le | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanas390x | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanax86_64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanaaarch64 | Advisory build | 7.5.12-3.18.1 | OPENSUSE-SU-2022:0140-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanaaarch64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanappc64le | Advisory build | 7.5.12-3.18.1 | OPENSUSE-SU-2022:0140-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanappc64le | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanas390x | Advisory build | 7.5.12-3.18.1 | OPENSUSE-SU-2022:0140-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanas390x | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanax86_64 | Advisory build | 7.5.12-3.18.1 | OPENSUSE-SU-2022:0140-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanax86_64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanaaarch64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanappc64le | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanas390x | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanax86_64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanaaarch64 | Advisory build | 7.5.12-1.1 | OPENSUSE-SU-2024:11694-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanappc64le | Advisory build | 7.5.12-1.1 | OPENSUSE-SU-2024:11694-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanas390x | Advisory build | 7.5.12-1.1 | OPENSUSE-SU-2024:11694-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanax86_64 | Advisory build | 7.5.12-1.1 | OPENSUSE-SU-2024:11694-1 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfoaarch64 | Advisory build | 7.5.11-2.el8 | RHSA-2022:1781 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfoppc64le | Advisory build | 7.5.11-2.el8 | RHSA-2022:1781 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfos390x | Advisory build | 7.5.11-2.el8 | RHSA-2022:1781 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfox86_64 | Advisory build | 7.5.11-2.el8 | RHSA-2022:1781 |
| SUSE / openSUSE | SLE-12-SP3 | golang-github-prometheus-node_exporteraarch64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP3 | golang-github-prometheus-node_exporterppc64le | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP3 | golang-github-prometheus-node_exporters390x | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP3 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporteraarch64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporterppc64le | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporters390x | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporteraarch64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporterppc64le | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporters390x | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | dracut-saltbootnoarch | Advisory build | 0.1.1665997480.587fa10-150000.1.41.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-boynux-squid_exporteraarch64 | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-boynux-squid_exporterppc64le | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-boynux-squid_exporters390x | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-boynux-squid_exporterx86_64 | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-prometheus-promuaarch64 | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-prometheus-promuppc64le | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-prometheus-promus390x | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | golang-github-prometheus-promux86_64 | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | prometheus-postgres_exporteraarch64 | Advisory build | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | prometheus-postgres_exporterppc64le | Advisory build | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | prometheus-postgres_exporters390x | Advisory build | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | prometheus-postgres_exporterx86_64 | Advisory build | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python3-rhnlibnoarch | Advisory build | 4.2.6-150000.3.34.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | spacecmdnoarch | Advisory build | 4.2.16-150000.3.77.1 | SUSE-SU-2022:1396-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | spacecmdnoarch | Advisory build | 4.3.16-150000.3.89.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | dracut-saltbootnoarch | Advisory build | 0.1.1665997480.587fa10-150000.1.41.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-boynux-squid_exporteraarch64 | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-boynux-squid_exporterppc64le | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-boynux-squid_exporters390x | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-boynux-squid_exporterx86_64 | Advisory build | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-prometheus-promuaarch64 | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-prometheus-promuppc64le | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-prometheus-promus390x | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | golang-github-prometheus-promux86_64 | Advisory build | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporteraarch64 | Advisory build | 0.19.0-150000.1.14.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporterppc64le | Advisory build | 0.19.0-150000.1.14.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporters390x | Advisory build | 0.19.0-150000.1.14.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | prometheus-blackbox_exporterx86_64 | Advisory build | 0.19.0-150000.1.14.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | spacecmdnoarch | Advisory build | 4.3.16-150000.3.89.1 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wireaarch64 | Advisory build | 0.5.0-150000.1.9.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wireppc64le | Advisory build | 0.5.0-150000.1.9.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wires390x | Advisory build | 0.5.0-150000.1.9.3 | SUSE-SU-2022:4437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | wirex86_64 | Advisory build | 0.5.0-150000.1.9.3 | SUSE-SU-2022:4437-1 |
| Rocky Linux | 8 | grafanasrc | Listed in advisory | Not stated | RLSA-2022:1781 |
| Rocky Linux | 8 | grafanax86_64 | Listed in advisory | Not stated | RLSA-2022:1781 |
| Rocky Linux | 8 | grafana-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2022:1781 |
| Rocky Linux | 8 | grafana-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:1781 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| grafana | grafana | >= 5.0.0, < 7.5.12 (affected)>= 8.0.0, < 8.3.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
8- [oss-security] 20211210 CVE-2021-43813 and CVE-2021-43815 - Grafana directory traversal for some .md and .csv files http://www.openwall.com/lists/oss-security/2021/12/10/4
- https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f
- https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d
- https://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q
- https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/
- https://security.netapp.com/advisory/ntap-20220107-0006/
Provider assertions
2GitHub_M · cna
Directory Traversal in Grafana
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 777aab42fca3b6cd1d8296b8e7c94555a794c83edf744e5adb2370db34b04303
- Ingested
- 23 Sep 2026, 07:56:36 UTC
- Source record
- Official CVE record