{"answers":{"affected":"10 open source packages ship an affected version, including github.com/grafana/grafana and grafana.","exploited":"There is no known exploitation of CVE-2024-6322 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana to a fixed version for your release line: 0.0.0-20240725142242-c326d865c58b, 1.9.2-0.20240725142242-c326d865c58b, 11.1.1 or 11.1.3.","what":"CVE-2024-6322 is a medium-severity missing authorization vulnerability in Grafana, published on 20 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-6322 and fix it if it is affected.\n\nWhat it is: CVE-2024-6322 is a medium-severity missing authorization vulnerability in Grafana, published on 20 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-6322 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/grafana/grafana (Go): affected all versions; no fix listed\n- github.com/grafana/grafana (Go): affected from 0.0.0-20240521130516-0072e4a92d89; fixed in 0.0.0-20240725142242-c326d865c58b\n- github.com/grafana/grafana (Go): affected from 0.0.0-20240521130516-0072e4a92d89; fixed in 0.0.0-20240725142242-c326d865c58b\n- github.com/grafana/grafana (Go): affected from 1.9.2-0.20240521130516-0072e4a92d89; fixed in 1.9.2-0.20240725142242-c326d865c58b\n- github.com/grafana/grafana (Go): affected from 1.9.2-0.20240521130516-0072e4a92d89; fixed in 1.9.2-0.20240725142242-c326d865c58b\n- github.com/grafana/grafana (Go): affected from 11.1.0; fixed in 11.1.1\n- github.com/grafana/grafana (Go): affected from 11.1.0; fixed in 11.1.1\n- github.com/grafana/grafana (Go): affected from 11.1.2; fixed in 11.1.3\n- github.com/grafana/grafana (Go): affected from 11.1.2; fixed in 11.1.3\n- grafana (Bitnami): affected from 11.1.0; fixed in 11.1.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-6322/ (Markdown: https://insights.sbomify.com/CVE-2024-6322/index.md)","id":"CVE-2024-6322","markdown":"https://insights.sbomify.com/CVE-2024-6322/index.md","name":"CVE-2024-6322","record":{"aliases":["BIT-grafana-2024-6322","GHSA-hh8p-374f-qgr5","GO-2024-3079","MINI-28h6-pfvp-vwvp","MINI-43x9-gq98-37wm","MINI-4jq3-cjjh-c4w3","MINI-6cvf-w9rj-5jm4","MINI-6fjp-9vjv-wr54","MINI-73fx-f9rc-c2r4","MINI-7p7x-q5c5-pm46","MINI-9279-vh94-2c25","MINI-94w7-cgm5-mrf5","MINI-f2vq-c4px-gp2r","MINI-ffcr-8rrq-r5fm","MINI-g49w-w74r-w85m","MINI-gr7f-qh47-9hmj","MINI-m7r6-fmg9-cqv5","MINI-m9h7-qg2m-8v6h","MINI-rv23-xrxc-jm7f","MINI-wjwc-7rqx-h6w5","UBUNTU-CVE-2024-6322"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Grafana monitoring platform","requires_auth":"none","summary":"Attackers with access to one data source can bypass access controls to read data from other protected data sources in Grafana.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"description":"Access control for plugin data sources protected by the ReqActions json field of the plugin.json is bypassed if the user or service account is granted associated access to any other data source, as the ReqActions check was not scoped to each specific datasource. The account must have prior query access to the impacted datasource.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Grafana plugin data sources vulnerable to access control bypass","id":"CVE-2024-6322","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":10,"n_references":1,"next":{"headline":"Improper Isolation or Compartmentalization in GitLab","id":"CVE-2024-6323"},"packages":[{"ecosystem":"Bitnami","fixed":["11.1.3"],"introduced":["11.1.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2024-6322"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2024-3079"},{"ecosystem":"Go","fixed":["0.0.0-20240725142242-c326d865c58b"],"introduced":["0.0.0-20240521130516-0072e4a92d89"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-hh8p-374f-qgr5"},{"ecosystem":"Go","fixed":["0.0.0-20240725142242-c326d865c58b"],"introduced":["0.0.0-20240521130516-0072e4a92d89"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-hh8p-374f-qgr5"},{"ecosystem":"Go","fixed":["1.9.2-0.20240725142242-c326d865c58b"],"introduced":["1.9.2-0.20240521130516-0072e4a92d89"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-hh8p-374f-qgr5"},{"ecosystem":"Go","fixed":["1.9.2-0.20240725142242-c326d865c58b"],"introduced":["1.9.2-0.20240521130516-0072e4a92d89"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-hh8p-374f-qgr5"},{"ecosystem":"Go","fixed":["11.1.1"],"introduced":["11.1.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-hh8p-374f-qgr5"},{"ecosystem":"Go","fixed":["11.1.1"],"introduced":["11.1.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-hh8p-374f-qgr5"},{"ecosystem":"Go","fixed":["11.1.3"],"introduced":["11.1.2"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-hh8p-374f-qgr5"},{"ecosystem":"Go","fixed":["11.1.3"],"introduced":["11.1.2"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-hh8p-374f-qgr5"}],"prev":{"headline":"ScrollTo Bottom \u003c= 1.1.1 - Cross-Site Request Forgery to Arbitrary File Upload","id":"CVE-2024-6321"},"products":["Grafana","Grafana Enterprise"],"published":"2024-08-20","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-23","vendors":["Grafana"]},"summary":"Attackers with access to one data source can bypass access controls to read data from other protected data sources in Grafana.","url":"https://insights.sbomify.com/CVE-2024-6322/"}