CVE-2021-43813
Summary
| CVE | CVE-2021-43813 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-12-10 18:15:00 UTC |
| Updated | 2022-03-31 16:31:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-22
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| January 2022 Grafana Vulnerabilities in NetApp Products | NetApp Product Security | CONFIRM | security.netapp.com | |
| 404 Page not found | Grafana Labs | MISC | grafana.com | |
| 404 Page not found | Grafana Labs | MISC | grafana.com | |
| chore(release-notes): add release notes for 8.2.3 and 7.5.12 (#42987) · grafana/grafana@fd48aee · GitHub | MISC | github.com | |
| Grafana 8.3.2 and 7.5.12 released with moderate severity security fix | Grafana Labs | MISC | grafana.com | |
| CVE-2021-43813: Grafana directory traversal for `.md` files, 5.0.0 - 8.3.1 · Advisory · grafana/grafana · GitHub | CONFIRM | github.com | |
| github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5b... | MISC | github.com | |
| oss-security - CVE-2021-43813 and CVE-2021-43815 - Grafana directory traversal for some .md and .csv files | MLIST | www.openwall.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 159830 Oracle Enterprise Linux Security Update for grafana (ELSA-2022-1781)
- 240280 Red Hat Update for grafana security (RHSA-2022:1781)
- 282291 Fedora Security Update for grafana (FEDORA-2022-c6ae206be7)
- 282292 Fedora Security Update for grafana (FEDORA-2022-6e6b59a682)
- 502303 Alpine Linux Security Update for grafana
- 690749 Free Berkeley Software Distribution (FreeBSD) Security Update for grafana (a994ff7d-5b3f-11ec-8398-6c3be5272acd)
- 751629 OpenSUSE Security Update for grafana (openSUSE-SU-2022:0140-1)
- 752251 SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2022:2134-1)
- 752995 SUSE Enterprise Linux Security Update for grafana (SUSE-SU-2022:4428-1)
- 940542 AlmaLinux Security Update for grafana (ALSA-2022:1781)
- 960391 Rocky Linux Security Update for grafana (RLSA-2022:1781)