CVE-2021-43815: Grafana directory traversal for `.cvs` files
Vulnerability summary
CVE-2021-43815 is a medium (CVSS 4.3) vulnerability in grafana. EPSS estimates a 1.90% chance of exploitation in the next 30 days, higher than 79.6% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 11Timeline
- 10-12-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · GoEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · AlpineEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
1.90%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.90% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- grafana≥ 8.0.0, < 8.3.2-r0
Github.com/grafana1 product
- grafana≥ 8.0.0-beta3, < 8.3.2
Grafana1 product
- grafana≥ 8.0.0-beta3, < 8.3.2 | ≥ 5.0.0, < 7.5.12 | < 7.5.12 | ≥ 8.0.0, < 8.3.2
Opensuse1 product
- grafana&distro=openSUSE Tumbleweed< 10.1.5-2.1
Ubuntu1 product
- grafanaAll versions (No fix recorded)
5 vendors · 5 products
References
15 links- github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308dX Refsource MISCREPORTWEBPatchThird Party Advisory
- grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/X Refsource MISCREPORTPatchThird Party Advisory
- github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9mX Refsource CONFIRMREPORTWEBPatchThird Party Advisory
- github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3X Refsource MISCREPORTWEBPatchThird Party Advisory
- github.com/grafana/grafana/releases/tag/v8.3.2X Refsource MISCREPORTWEBRelease NotesThird Party Advisory
- www.openwall.com/lists/oss-security/2021/12/10/4Mailing ListX Refsource MLISTREPORTWEBPatchThird Party Advisory
Show all 15 references
- github.com/grafana/grafanaPACKAGE