VDB

CVE-2021-43815

CVE-2021-43815 PUBLISHED CVSS 4.3 MEDIUM

Grafana directory traversal for `.cvs` files

Reported by github_m · Published December 10, 2021

github.com/grafana/grafana is fixed in 8.3.2 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/grafana/grafanaGo Modules8.3.2
grafanaBitnami8.3.2, 7.5.12
grafanadhi.docker.com8.3.2
grafanagrafana8.3.2, 7.5.12

Risk scores

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

Affected products

VendorProductVersions
grafanagrafana>= 8.0.0-beta3, < 8.3.2, >= 5.0.0, < 7.5.12
github.comgrafana/grafana8.0.0-beta3
grafanagrafana8.0.0-beta3, 5.0.0
alpinegrafana0
archgrafana0

Timeline

  • Dec 10, 2021 CVE Published
  • Dec 11, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (4 in total, the first dated here)
  • Mar 17, 2026 Distribution Patch (3 in total, the first dated here)
  • Jun 17, 2026 CVE Updated
  • Jul 17, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-43815
vulnetix vdb fixes CVE-2021-43815

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-43815/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›