CVE-2021-43815: Grafana directory traversal for .cvs files
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 been vulnerable.
The vulnerable URL path is: /api/ds/query
References
- github.com/advisories/GHSA-7533-c8qv-jm9m
- github.com/grafana/grafana
- github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3
- github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d
- github.com/grafana/grafana/releases/tag/v8.3.2
- github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m
- grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix
- nvd.nist.gov/vuln/detail/CVE-2021-43815
- security.netapp.com/advisory/ntap-20220107-0006
Detect and mitigate CVE-2021-43815 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →