Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/grafana/grafana: GHSA-q99m-qcv4-fpm7 #3215

Closed
GoVulnBot opened this issue Oct 25, 2024 · 1 comment
Assignees
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-q99m-qcv4-fpm7 references a vulnerability in the following Go modules:

Module
github.com/grafana/grafana

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.

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/grafana/grafana
      non_go_versions:
        - introduced: TODO (earliest fixed "11.2.2+security-01", vuln range ">= 11.2.0, <= 11.2.2")
        - introduced: TODO (earliest fixed "11.1.7+security-01", vuln range ">= 11.1.0, <= 11.1.7")
        - introduced: TODO (earliest fixed "11.0.6+security-01", vuln range ">= 11.0.0, <= 11.0.6")
      vulnerable_at: 5.4.5+incompatible
summary: Grafana Command Injection And Local File Inclusion Via Sql Expressions in github.com/grafana/grafana
cves:
    - CVE-2024-9264
ghsas:
    - GHSA-q99m-qcv4-fpm7
references:
    - advisory: https://github.com/advisories/GHSA-q99m-qcv4-fpm7
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-9264
    - fix: https://github.com/grafana/grafana/pull/81666
    - web: https://grafana.com/blog/2024/10/17/grafana-security-release-critical-severity-fix-for-cve-2024-9264
    - web: https://grafana.com/security/security-advisories/cve-2024-9264
notes:
    - fix: 'module merge error: could not merge versions of module github.com/grafana/grafana: invalid or non-canonical semver version (found TODO (earliest fixed "11.2.2+security-01", vuln range ">= 11.2.0, <= 11.2.2"))'
source:
    id: GHSA-q99m-qcv4-fpm7
    created: 2024-10-25T15:01:24.992256131Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/622835 mentions this issue: data/reports: add 16 unreviewed reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants