Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Grafana directory traversal for `.cvs` files

CVSS 3.1 4.3 MEDIUMEUVD CVSS 3.1 4.3 CVSS 3.1 · [email protected] · Secondary 4.3 MEDIUMCVSS 3.1 · [email protected] · Primary 4.3 MEDIUMCVSS 2.0 · [email protected] · Primary 3.5 LOWCVSS_V3 Publisher rating MODERATEFixed by github.com/grafana/grafana 8.3.2KEV status unknown

cve-program · CVE-2021-43815

Published

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.

Read the publisher's advisory

euvd · EUVD-2024-1473

Published

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.

Read the publisher's advisory

nvd · CVE-2021-43815

Published

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.

Read the publisher's advisory

osv · GHSA-7533-c8qv-jm9m

Published

Today we are releasing Grafana `8.3.2` and `7.5.12`. This patch release includes a moderate severity security fix for directory traversal for arbitrary `.csv` files. It only affects instances that have the developer testing tool called [TestData DB data source](https://grafana.com/docs/grafana/latest/datasources/testdata/) enabled and configured. The vulnerability is limited in scope, and only allows access to files with the extension `.csv` to **authenticated users only.** This is a follow-up patch release to our recent [CVE-2021-43798](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43798) release. If you haven’t read about that high severity security fix, we recommend that you review the [initial blog post](https://grafana.com/blog/2021/12/07/grafana-8.3.1-8.2.7-8.1.8-and-8.0.7-released-with-high-severity-security-fix/), along with our [update on the 0day](https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/). Given the attention CVE-2021-43798 has brought, there’s a risk that additional researchers will find CVE-2021-43813. Out of an abundance of caution and given that both CVE-2021-43813 and CVE-2021-pending are only CVSS Score 4.3 Moderate CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N through their limited scope we are immediately releasing to the public, and on a Friday. We identified several vulnerability issues in the last few weeks, and at a higher rate than in the years before. The infosec industry usually comes together after a few CVEs and we benefit from that extra scrutiny. Although it can be difficult, ultimately it's for the overall benefit of Grafana and the community. Please know that this is a top priority for us. We are spending significant resources on this in the remainder of 2021 already, including full outside assessment. We will continue and increase this investment in 2022 and beyond. Release 8.3.2, only containing security fixes: - [Download Grafana 8.3.2](https://grafana.com/grafana/download/8.3.2) - [Release notes](https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/) Release 7.5.12, only containing security fixes: - [Download Grafana 7.5.12](https://grafana.com/grafana/download/7.5.12) - [Release notes](https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/) ## Directory Traversal [CVE-2021-43815](https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m) ### Summary CVSS Score: 4.3 Moderate CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N On 2021-12-09, GitHub Security Labs notified us of a vulnerability through which authenticated users could read out fully lowercase or fully uppercase `.md` files through directory traversal. Doing our own follow-up investigation we found a related vulnerability through which authenticated users could read out arbitrary `.csv` files through directory traversal. Thanks to our defense-in-depth approach, at no time has [Grafana Cloud](https://grafana.com/cloud) been vulnerable. **The vulnerable URL path is**: `/api/ds/query` ### Affected versions with moderate severity CVE-2021-43815: Grafana 8.0.0-beta3 - 8.3.1 ### Solutions and mitigations All installations between 5.0.0 and 8.3.1 should be upgraded as soon as possible. If you can not 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. Thanks to our defense-in-depth approach, [Grafana Cloud](https://grafana.com/cloud) instances have not been affected by the vulnerability. ### Timeline and postmortem Here is a detailed timeline starting from when we originally learned of the issue. All times in UTC. * 2021-12-09 16:07: As part of investigation of the [CVE-2021-43813](https://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q) we have discovered that .csv files are affected and can be read out via /api/ds/query * 2021-12-09 16:10: PR with a possible fix the markdown path traversal is raised in private mirror repo * 2021-12-09 19:05: Fix confirmed * 2021-12-09 23:00: Decision release to direct to public on 2021-12-10 14:30 UTC * 2021-12-09 23:36: Announcement email sent to customers * 2021-12-10 10:11: Decision to split out `.csv` vulnerability into its own CVE ### Acknowledgement We would like to thank the [GitHub Security Lab team](https://securitylab.github.com/) for responsibly disclosing CVE-2021-43813 to us. ## Reporting security Issues If you think you have found a security vulnerability, please send a report to [[email protected]](mailto:[email protected]). This address can be used for all of Grafana Labs' open source and commercial products (including but not limited to Grafana, Grafana Cloud, Grafana Enterprise, and grafana.com). We can accept only vulnerability reports at this address. We would prefer that you encrypt your message to us by using our PGP key. The key fingerprint is F988 7BEA 027A 049F AE8E 5CAA D125 8932 BE24 C5CA The key is available from [keyserver.ubuntu.com](https://keyserver.ubuntu.com/pks/lookup?search=0xF9887BEA027A049FAE8E5CAAD1258932BE24C5CA&fingerprint=on&op=index). ## Security announcements We maintain a [security category on our blog](https://grafana.com/tags/security/), where we will always post a summary, remediation, and mitigation details for any patch containing security fixes. You can also subscribe to our [RSS feed](https://grafana.com/tags/security/index.xml).

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2021-43815

Published

grafana

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "grafana",
                    "vendor": "grafana",
                    "versions": [
                        {
                            "status": "affected",
                            "version": ">= 8.0.0-beta3, < 8.3.2"
                        },
                        {
                            "status": "affected",
                            "version": ">= 5.0.0, < 7.5.12"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2024-1473

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Dec 10, 2021, 8:40:11 PM

dateUpdated: Aug 4, 2024, 4:03:08 AM

13 related source bulletins · separate from aliases

SUSE-SU-2024:0487-1: Security update for SUSE Manager Client Tools

CVE-2020-7753 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-43138 · CVE-2021-43798 · CVE-2021-43815 · CVE-2022-0155 · CVE-2022-41715

SUSE-SU-2022:4439-1: Security update for SUSE Manager Client Tools

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-35957 · CVE-2022-36062

SUSE-SU-2022:4428-1: Security update for grafana

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-35957 · CVE-2022-36062

SUSE-SU-2022:4437-1: Security update for SUSE Manager Client Tools

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-35957 · CVE-2022-36062

SUSE-SU-2024:0196-1: Security Beta update for SUSE Manager Client Tools and Salt

CVE-2020-7753 · CVE-2021-20178 · CVE-2021-20180 · CVE-2021-20191 · CVE-2021-20228 · CVE-2021-3447 · CVE-2021-3583 · CVE-2021-3620 · CVE-2021-36222 · CVE-2021-3711 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43138 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-0155 · CVE-2022-23552 · CVE-2022-27664 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-31123 · CVE-2022-31130 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-39201 · CVE-2022-39229 · CVE-2022-39306 · CVE-2022-39307 · CVE-2022-39324 · CVE-2022-41715 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-0507 · CVE-2023-0594 · CVE-2023-1387 · CVE-2023-1410 · CVE-2023-2183 · CVE-2023-2801 · CVE-2023-3128

SUSE-SU-2024:0191-1: Security Beta update for SUSE Manager Client Tools

CVE-2020-7753 · CVE-2021-36222 · CVE-2021-3711 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-39226 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43138 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-0155 · CVE-2022-21673 · CVE-2022-21698 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713 · CVE-2022-23552 · CVE-2022-27191 · CVE-2022-27664 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-31123 · CVE-2022-31130 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-39201 · CVE-2022-39229 · CVE-2022-39306 · CVE-2022-39307 · CVE-2022-39324 · CVE-2022-41715 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-0507 · CVE-2023-0594 · CVE-2023-1387 · CVE-2023-1410 · CVE-2023-2183 · CVE-2023-2801 · CVE-2023-3128 · CVE-2023-40577

SUSE-SU-2024:0486-1: Security update for SUSE Manager Client Tools

CVE-2020-7753 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-43138 · CVE-2021-43798 · CVE-2021-43815 · CVE-2022-0155 · CVE-2022-41715 · CVE-2023-40577

SUSE-FU-2022:1419-1: Feature update for grafana

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-39226 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-21673 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713

SUSE-SU-2022:2134-1: Security update for SUSE Manager Client Tools

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-39226 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-21673 · CVE-2022-21698 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713

SUSE-SU-2022:3676-1: Security update for grafana

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43815 · CVE-2022-21673 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-35957 · CVE-2022-36062

SUSE-SU-2022:1396-1: Security update for SUSE Manager Client Tools

CVE-2021-36222 · CVE-2021-3711 · CVE-2021-39226 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-21673 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713

WID-SEC-W-2022-0405: Grafana: Mehrere Schwachstellen ermöglichen Offenlegung von Informationen

CVE-2021-43813 · CVE-2021-43815

openSUSE-SU-2024:13586-1: grafana-10.1.5-2.1 on GA media

CVE-2021-43815

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2021-43815

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-22

Original publisher date fields

published: 2021-12-10T21:15:09.497

lastModified: 2026-06-17T04:11:29.713

1 source CPE criteria · context only
  • cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-7533-c8qv-jm9m

Published

github.com/grafana/grafana

Go

SEMVER · introduced 8.0.0-beta3 → fixed 8.3.2

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 25 Nov 15:36 UTC · 277 of 278 readable · 272 fully read · documentation 469/469 current