CVE-2021-43798

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in go/github.com/grafana/grafana

Identifiers

GHSA-8pjx-jj86-j47p, CVE-2021-43798

Package Slug

go/github.com/grafana/grafana

Vulnerability

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Description

Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through 8.3.0 (except for patched versions) iss vulnerable to directory traversal, allowing access to local files. The vulnerable URL path is: <grafana_host_url>/public/plugins//, where is the plugin ID for any installed plugin. At no time has Grafana Cloud been vulnerable. Users are advised to upgrade to patched versions 8.0.7, 8.1.8, 8.2.7, or 8.3.1. The GitHub Security Advisory contains more information about vulnerable URL paths, mitigation, and the disclosure timeline.

Affected Versions

All versions starting from 8.0.0-beta1 before 8.0.7, all versions starting from 8.1.0 before 8.1.8, all versions starting from 8.2.0 before 8.2.7, all versions starting from 8.3.0 before 8.3.1

Solution

Upgrade to versions 8.2.7, 8.3.1, 8.0.7, 8.1.8 or above.

Last Modified

2024-02-01

source