{"api_version":"1","generated_at":"2026-04-23T04:11:23+00:00","cve":"CVE-2021-43815","urls":{"html":"https://cve.report/CVE-2021-43815","api":"https://cve.report/api/cve/CVE-2021-43815.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43815","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43815"},"summary":{"title":"CVE-2021-43815","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-12-10 21:15:00","updated_at":"2022-03-31 16:31:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m","name":"https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m","refsource":"CONFIRM","tags":[],"title":"CVE-2021-43815: Grafana directory traversal for `.csv` files, 8.0.0-beta3 - 8.3.1 · Advisory · grafana/grafana · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20220107-0006/","name":"https://security.netapp.com/advisory/ntap-20220107-0006/","refsource":"CONFIRM","tags":[],"title":"January 2022 Grafana Vulnerabilities in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3","name":"https://github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3","refsource":"MISC","tags":[],"title":"Backport fix to main (#42979) · grafana/grafana@d6ec6f8 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d","name":"https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d","refsource":"MISC","tags":[],"title":"chore(release-notes): add release notes for 8.2.3 and 7.5.12 (#42987) · grafana/grafana@fd48aee · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/","name":"https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/","refsource":"MISC","tags":[],"title":"Grafana 8.3.2 and 7.5.12 released with moderate severity security fix | Grafana Labs","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/grafana/grafana/releases/tag/v8.3.2","name":"https://github.com/grafana/grafana/releases/tag/v8.3.2","refsource":"MISC","tags":[],"title":"Release 8.3.2 (2021-12-10) · grafana/grafana · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2021/12/10/4","name":"[oss-security] 20211210 CVE-2021-43813 and CVE-2021-43815 - Grafana directory traversal for some .md and .csv files","refsource":"MLIST","tags":[],"title":"oss-security - CVE-2021-43813 and CVE-2021-43815 - Grafana directory traversal for\n some .md and .csv files","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43815","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43815","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"43815","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"grafana","cpe5":"grafana","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-43815","qid":"502303","title":"Alpine Linux Security Update for grafana"},{"cve":"CVE-2021-43815","qid":"690750","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for grafana (c2a7de31-5b42-11ec-8398-6c3be5272acd)"},{"cve":"CVE-2021-43815","qid":"752251","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2022:2134-1)"},{"cve":"CVE-2021-43815","qid":"752995","title":"SUSE Enterprise Linux Security Update for grafana (SUSE-SU-2022:4428-1)"},{"cve":"CVE-2021-43815","qid":"755764","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2024:0487-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-43815","STATE":"PUBLIC","TITLE":"Grafana directory traversal for `.cvs` files"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"grafana","version":{"version_data":[{"version_value":">= 8.0.0-beta3, < 8.3.2"},{"version_value":">= 5.0.0, < 7.5.12"}]}}]},"vendor_name":"grafana"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"references":{"reference_data":[{"name":"https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d","refsource":"MISC","url":"https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d"},{"name":"https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/","refsource":"MISC","url":"https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/"},{"name":"https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m","refsource":"CONFIRM","url":"https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m"},{"name":"https://github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3","refsource":"MISC","url":"https://github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3"},{"name":"https://github.com/grafana/grafana/releases/tag/v8.3.2","refsource":"MISC","url":"https://github.com/grafana/grafana/releases/tag/v8.3.2"},{"refsource":"MLIST","name":"[oss-security] 20211210 CVE-2021-43813 and CVE-2021-43815 - Grafana directory traversal for some .md and .csv files","url":"http://www.openwall.com/lists/oss-security/2021/12/10/4"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20220107-0006/","url":"https://security.netapp.com/advisory/ntap-20220107-0006/"}]},"source":{"advisory":"GHSA-7533-c8qv-jm9m","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-12-10 21:15:00","lastModifiedDate":"2022-03-31 16:31:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":3.5},"severity":"LOW","exploitabilityScore":6.8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionEndExcluding":"7.5.12","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"8.0.0","versionEndExcluding":"8.3.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"43815","Ordinal":"221345","Title":"CVE-2021-43815","CVE":"CVE-2021-43815","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"43815","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}