CVE-2021-43815
published medium CVSS 3.1 · 4.3Grafana directory traversal for `.cvs` files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| grafana | — | grafana>= 8.0.0-beta3, < 8.3.2 · >= 5.0.0, < 7.5.12 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | grafana | Fixed | 8.3.2-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP4 | grafanaaarch64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| Alpine Linux | v3.16 | grafana | Fixed | 8.3.2-r0 | Package fix record |
| 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 |
Show 74 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 |
| 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 | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-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 | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-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 | 10.1.5-2.1 | OPENSUSE-SU-2024:13586-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanappc64le | Advisory build | 10.1.5-2.1 | OPENSUSE-SU-2024:13586-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanas390x | Advisory build | 10.1.5-2.1 | OPENSUSE-SU-2024:13586-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanax86_64 | Advisory build | 10.1.5-2.1 | OPENSUSE-SU-2024:13586-1 |
| 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 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | golang-github-lusitaniae-apache_exporteraarch64 | Advisory build | 1.0.0-150000.1.20.1 | SUSE-SU-2024:0487-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | golang-github-lusitaniae-apache_exporterppc64le | Advisory build | 1.0.0-150000.1.20.1 | SUSE-SU-2024:0487-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | golang-github-lusitaniae-apache_exporters390x | Advisory build | 1.0.0-150000.1.20.1 | SUSE-SU-2024:0487-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | golang-github-lusitaniae-apache_exporterx86_64 | Advisory build | 1.0.0-150000.1.20.1 | SUSE-SU-2024:0487-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | prometheus-postgres_exporteraarch64 | Advisory build | 0.10.1-150000.1.17.1 | SUSE-SU-2024:0487-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | prometheus-postgres_exporterppc64le | Advisory build | 0.10.1-150000.1.17.1 | SUSE-SU-2024:0487-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | prometheus-postgres_exporters390x | Advisory build | 0.10.1-150000.1.17.1 | SUSE-SU-2024:0487-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | prometheus-postgres_exporterx86_64 | Advisory build | 0.10.1-150000.1.17.1 | SUSE-SU-2024:0487-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | spacecmdnoarch | Advisory build | 4.3.26-150000.3.113.1 | SUSE-SU-2024:0487-1 |
Description
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.
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 | >= 8.0.0-beta3, < 8.3.2 (affected)>= 5.0.0, < 7.5.12 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
7- [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/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3
- https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d
- https://github.com/grafana/grafana/releases/tag/v8.3.2
- https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m
- https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/
- https://security.netapp.com/advisory/ntap-20220107-0006/
Provider assertions
2GitHub_M · cna
Grafana directory traversal for `.cvs` files
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4d7c01577db03aab826c03b0f52e3edd3d59dc967c0a638611f2a4fb6acc280f
- Ingested
- 23 Sep 2026, 07:56:36 UTC
- Source record
- Official CVE record