github.com/grafana/grafana
Affected
- introduced
11.0.0, fixed11.0.6+security-01(semver)
Fixed versions
11.0.6+security-01
Fix
- Fixed version
11.0.6+security-01go get github.com/grafana/[email protected]+security-01
Advisory
Also known as: BIT-grafana-2024-9264, CVE-2024-9264, GO-2024-3215
Grafana Command Injection And Local File Inclusion Via Sql Expressions
The SQL Expressions experimental feature of Grafana allows for the evaluation of duckdb queries containing user input. These queries are insufficiently sanitized before being passed to duckdb, leading to a command injection and local file inclusion vulnerability. Any user with the VIEWER or higher permission is capable of executing this attack. The duckdb binary must be present in Grafana's $PATH for this attack to function; by default, this binary is not installed in Grafana distributions.
Critical Basis: The source's own band: CRITICAL
11.0.0, fixed 11.0.6+security-01 (semver)11.0.6+security-01
11.0.6+security-01go get github.com/grafana/[email protected]+security-0111.1.0, fixed 11.1.7+security-01 (semver)11.1.7+security-01
11.1.7+security-01go get github.com/grafana/[email protected]+security-0111.2.0, fixed 11.2.2+security-01 (semver)11.2.2+security-01
11.2.2+security-01go get github.com/grafana/[email protected]+security-01Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0