{"api_version":"1","generated_at":"2026-04-23T06:19:46+00:00","cve":"CVE-2021-43813","urls":{"html":"https://cve.report/CVE-2021-43813","api":"https://cve.report/api/cve/CVE-2021-43813.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43813","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43813"},"summary":{"title":"CVE-2021-43813","description":"Grafana is an open-source platform for monitoring and observability. Grafana prior to versions 8.3.2 and 7.5.12 contains a directory traversal vulnerability for fully lowercase or fully uppercase .md files. The vulnerability is limited in scope, and only allows access to files with the extension .md to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Users should upgrade to patched versions 8.3.2 or 7.5.12. 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. Alternatively, for fully lowercase or fully uppercase .md files, users can block /api/plugins/.*/markdown/.* without losing any functionality beyond inlined plugin help text.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-12-10 18:15:00","updated_at":"2022-03-31 16:31:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"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://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/","name":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/","refsource":"MISC","tags":[],"title":"404 Page not found | Grafana Labs","mime":"text/html","httpstatus":"403","archivestatus":"404"},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/","name":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/","refsource":"MISC","tags":[],"title":"404 Page not found | Grafana Labs","mime":"text/html","httpstatus":"403","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/security/advisories/GHSA-c3q8-26ph-9g2q","name":"https://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q","refsource":"CONFIRM","tags":[],"title":"CVE-2021-43813: Grafana directory traversal for `.md` files, 5.0.0 - 8.3.1 · Advisory · grafana/grafana · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f","name":"https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f","refsource":"MISC","tags":[],"title":"","mime":"text/plain","httpstatus":"404","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-43813","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43813","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"43813","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-43813","qid":"159830","title":"Oracle Enterprise Linux Security Update for grafana (ELSA-2022-1781)"},{"cve":"CVE-2021-43813","qid":"240280","title":"Red Hat Update for grafana security (RHSA-2022:1781)"},{"cve":"CVE-2021-43813","qid":"282291","title":"Fedora Security Update for grafana (FEDORA-2022-c6ae206be7)"},{"cve":"CVE-2021-43813","qid":"282292","title":"Fedora Security Update for grafana (FEDORA-2022-6e6b59a682)"},{"cve":"CVE-2021-43813","qid":"502303","title":"Alpine Linux Security Update for grafana"},{"cve":"CVE-2021-43813","qid":"690749","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for grafana (a994ff7d-5b3f-11ec-8398-6c3be5272acd)"},{"cve":"CVE-2021-43813","qid":"751629","title":"OpenSUSE Security Update for grafana (openSUSE-SU-2022:0140-1)"},{"cve":"CVE-2021-43813","qid":"752251","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2022:2134-1)"},{"cve":"CVE-2021-43813","qid":"752995","title":"SUSE Enterprise Linux Security Update for grafana (SUSE-SU-2022:4428-1)"},{"cve":"CVE-2021-43813","qid":"940542","title":"AlmaLinux Security Update for grafana (ALSA-2022:1781)"},{"cve":"CVE-2021-43813","qid":"960391","title":"Rocky Linux Security Update for grafana (RLSA-2022:1781)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-43813","STATE":"PUBLIC","TITLE":"Directory Traversal in Grafana"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"grafana","version":{"version_data":[{"version_value":">= 5.0.0, < 7.5.12"},{"version_value":">= 8.0.0, < 8.3.2"}]}}]},"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 contains a directory traversal vulnerability for fully lowercase or fully uppercase .md files. The vulnerability is limited in scope, and only allows access to files with the extension .md to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Users should upgrade to patched versions 8.3.2 or 7.5.12. 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. Alternatively, for fully lowercase or fully uppercase .md files, users can block /api/plugins/.*/markdown/.* without losing any functionality beyond inlined plugin help text."}]},"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/security/advisories/GHSA-c3q8-26ph-9g2q","refsource":"CONFIRM","url":"https://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q"},{"name":"https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f","refsource":"MISC","url":"https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f"},{"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://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/","refsource":"MISC","url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/"},{"name":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/","refsource":"MISC","url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-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-c3q8-26ph-9g2q","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-12-10 18: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:L/Au:S/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4},"severity":"MEDIUM","exploitabilityScore":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:*:*:*:*:*:*:*:*","versionStartIncluding":"8.0.0","versionEndExcluding":"8.3.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"7.5.12","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"43813","Ordinal":"221386","Title":"CVE-2021-43813","CVE":"CVE-2021-43813","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"43813","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}]}}}