Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/grafana/grafana
  4. ›
  5. CVE-2021-43815

CVE-2021-43815: Grafana directory traversal for .cvs files

May 14, 2024

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

Code Behaviors & Features

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 →

Affected versions

All versions starting from 8.0.0-beta3 before 8.3.2

Fixed versions

  • 8.3.2

Solution

Upgrade to version 8.3.2 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/grafana/grafana/CVE-2021-43815.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:26 +0000.