4.3
MEDIUM CVSS 3.1
CVE-2021-43815
Grafana directory traversal for `.cvs` files
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.

INFO

Published Date :

Dec. 10, 2021, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 6:29 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2021-43815 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Grafana grafana
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 LOW [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
To address the directory traversal vulnerability, update Grafana or implement a reverse proxy.
  • Update the Grafana package to a version greater than 8.3.2 or 7.5.12.
  • If an upgrade is not possible, implement a reverse proxy in front of Grafana that normalizes the PATH of the request, ensuring it can handle URL-encoded paths.
Public PoC/Exploit Available at Github

CVE-2021-43815 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-43815.

URL Resource
http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List Patch Third Party Advisory
https://github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3 Patch Third Party Advisory
https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d Patch Third Party Advisory
https://github.com/grafana/grafana/releases/tag/v8.3.2 Release Notes Third Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m Patch Third Party Advisory
https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/ Patch Third Party Advisory
https://security.netapp.com/advisory/ntap-20220107-0006/ Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List Patch Third Party Advisory
https://github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3 Patch Third Party Advisory
https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d Patch Third Party Advisory
https://github.com/grafana/grafana/releases/tag/v8.3.2 Release Notes Third Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m Patch Third Party Advisory
https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/ Patch Third Party Advisory
https://security.netapp.com/advisory/ntap-20220107-0006/ Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-43815 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Are you able to gain Cluster Admin privilege?

Updated: 3 weeks, 5 days ago
0 stars 0 fork 0 watcher
Born at : Aug. 11, 2025, 12:33 p.m. This repo has been linked 1 different CVEs too.

CodeQL Java 全网最全的中文学习资料

java javase codeql learning-codeql codeql-queries codeql-taint-tracking chinese

CodeQL CSS HTML Python Ruby JavaScript SCSS

Updated: 1 month, 2 weeks ago
785 stars 82 fork 82 watcher
Born at : March 11, 2021, 7:51 a.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-43815 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-43815 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2021/12/10/4
    Added Reference https://github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3
    Added Reference https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d
    Added Reference https://github.com/grafana/grafana/releases/tag/v8.3.2
    Added Reference https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m
    Added Reference https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/
    Added Reference https://security.netapp.com/advisory/ntap-20220107-0006/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Mar. 31, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
    Changed Reference Type http://www.openwall.com/lists/oss-security/2021/12/10/4 Broken Link, Mailing List, Third Party Advisory http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List, Patch, Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20220107-0006/ No Types Assigned https://security.netapp.com/advisory/ntap-20220107-0006/ Third Party Advisory
    Added CWE NIST CWE-22
  • CVE Modified by [email protected]

    Jan. 10, 2022

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20220107-0006/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 14, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:N/A:N)
    Changed Reference Type http://www.openwall.com/lists/oss-security/2021/12/10/4 No Types Assigned http://www.openwall.com/lists/oss-security/2021/12/10/4 Broken Link, Mailing List, Third Party Advisory
    Changed Reference Type https://github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3 No Types Assigned https://github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3 Patch, Third Party Advisory
    Changed Reference Type https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d No Types Assigned https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d Patch, Third Party Advisory
    Changed Reference Type https://github.com/grafana/grafana/releases/tag/v8.3.2 No Types Assigned https://github.com/grafana/grafana/releases/tag/v8.3.2 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m No Types Assigned https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m Patch, Third Party Advisory
    Changed Reference Type https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/ No Types Assigned https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/ Patch, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions up to (excluding) 7.5.12 *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.3.2
  • CVE Modified by [email protected]

    Dec. 11, 2021

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2021/12/10/4 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 4.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 3.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.47 }} -0.01%

score

0.63690

percentile