CVE-2024-9264

HIGHCVSS 8.8/10EPSS 97.78%

Last modified

CVE-2024-9264 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 97.78% chance of exploitation in the next 30 days.

Description

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.

Metrics

Weakness Enumeration

Affected Software

VendorProductVersions
GrafanaGrafana11.0.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2024-9264?
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.
How severe is CVE-2024-9264?
CVE-2024-9264 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 97.78% probability of exploitation in the next 30 days.
How do I fix CVE-2024-9264?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2024

Are you affected by CVE-2024-9264?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST