{"answers":{"affected":"12 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-1442 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana to a fixed version for your release line: 10.0.12, 10.1.8, 10.2.5 or 10.3.4.","what":"CVE-2024-1442 is a medium-severity vulnerability in Grafana Grafana, published on 7 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-1442 and fix it if it is affected.\n\nWhat it is: CVE-2024-1442 is a medium-severity vulnerability in Grafana Grafana, published on 7 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-1442 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 10.0.0; fixed in 10.0.12\n- github.com/grafana/grafana (Go): affected from 10.0.0; fixed in 10.0.12\n- github.com/grafana/grafana (Go): affected from 10.1.0; fixed in 10.1.8\n- github.com/grafana/grafana (Go): affected from 10.1.0; fixed in 10.1.8\n- github.com/grafana/grafana (Go): affected from 10.2.0; fixed in 10.2.5\n- github.com/grafana/grafana (Go): affected from 10.2.0; fixed in 10.2.5\n- github.com/grafana/grafana (Go): affected from 10.3.0; fixed in 10.3.4\n- github.com/grafana/grafana (Go): affected from 10.3.0; fixed in 10.3.4\n- github.com/grafana/grafana (Go): affected from 8.5.0; fixed in 9.5.7\n- github.com/grafana/grafana (Go): affected from 8.5.0; fixed in 9.5.7\n- grafana (Bitnami): affected from 8.5.0; fixed in 9.5.7, 10.0.12, 10.1.8, 10.2.5, 10.3.4\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-1442/ (Markdown: https://insights.sbomify.com/CVE-2024-1442/index.md)","id":"CVE-2024-1442","markdown":"https://insights.sbomify.com/CVE-2024-1442/index.md","name":"CVE-2024-1442","record":{"aliases":["BIT-grafana-2024-1442","GHSA-5mxf-42f5-j782","GO-2024-2629","MINI-2xrw-hmxm-7426","MINI-33fj-h6cf-qmf7","MINI-34fq-4cgh-c4rh","MINI-4263-4w3m-fxm9","MINI-5p8x-q59w-5fx8","MINI-5xwv-5wqm-5f56","MINI-9xp4-wqxw-9569","MINI-c5rv-xgvf-x7j9","MINI-g4qg-mvw2-4h5f","MINI-gff9-qxhr-jqcq","MINI-gvr8-c33p-7xjh","MINI-m48r-4p5m-8gqq","MINI-q8vr-grrp-v4jp","MINI-r7r7-673x-w4hq","MINI-rwc8-jr42-hw72","MINI-vqxp-7hjw-w3gf","MINI-wg73-868r-762j","UBUNTU-CVE-2024-1442"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["privilege_escalation","data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Grafana monitoring platform","requires_auth":"high_privilege","summary":"A user with data source creation permissions can escalate privileges to read, modify, and delete all data sources in the organization.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[{"product":"grafana","vendor":"grafana"}],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"A user with the permissions to create a data source can use Grafana API to create a data source with UID set to *.\nDoing this will grant the user access to read, query, edit and delete all data sources within the organization.","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":"User with permissions to create a data source can CRUD all data sources","id":"CVE-2024-1442","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"grafana:grafana","products":["grafana:grafana"],"type":"privilege_escalation","year":"2024"},"n_packages":12,"n_references":1,"next":{"headline":"MSI Afterburner v4.6.5.16370 - Denial of Service","id":"CVE-2024-1443"},"packages":[{"ecosystem":"Bitnami","fixed":["9.5.7","10.0.12","10.1.8","10.2.5","10.3.4"],"introduced":["8.5.0","10.0.0","10.1.0","10.2.0","10.3.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2024-1442"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2024-2629"},{"ecosystem":"Go","fixed":["10.0.12"],"introduced":["10.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-5mxf-42f5-j782"},{"ecosystem":"Go","fixed":["10.0.12"],"introduced":["10.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-5mxf-42f5-j782"},{"ecosystem":"Go","fixed":["10.1.8"],"introduced":["10.1.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-5mxf-42f5-j782"},{"ecosystem":"Go","fixed":["10.1.8"],"introduced":["10.1.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-5mxf-42f5-j782"},{"ecosystem":"Go","fixed":["10.2.5"],"introduced":["10.2.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-5mxf-42f5-j782"},{"ecosystem":"Go","fixed":["10.2.5"],"introduced":["10.2.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-5mxf-42f5-j782"},{"ecosystem":"Go","fixed":["10.3.4"],"introduced":["10.3.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-5mxf-42f5-j782"},{"ecosystem":"Go","fixed":["10.3.4"],"introduced":["10.3.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-5mxf-42f5-j782"},{"ecosystem":"Go","fixed":["9.5.7"],"introduced":["8.5.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-5mxf-42f5-j782"},{"ecosystem":"Go","fixed":["9.5.7"],"introduced":["8.5.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-5mxf-42f5-j782"}],"prev":{"headline":"Libvirt: off-by-one error in udevlistinterfacesbystatus()","id":"CVE-2024-1441"},"products":["Grafana"],"published":"2024-03-07","related":[{"cvss_score":7.5,"headline":"Grafana Path Traversal","id":"CVE-2021-43798","kev_date_added":"2025-10-09","published":"2021-12-07"},{"cvss_score":10,"headline":"Incorrect privilege assignment","id":"CVE-2025-41115","kev_date_added":null,"published":"2025-11-21"},{"cvss_score":9.8,"headline":"Grafana vulnerable to race condition allowing privilege escalation","id":"CVE-2022-39328","kev_date_added":null,"published":"2022-11-08"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2022-28660","kev_date_added":null,"published":"2022-05-20"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2022-26148","kev_date_added":null,"published":"2022-03-21"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2018-15727","kev_date_added":null,"published":"2018-08-29"},{"cvss_score":9.4,"headline":"Grafana SQL Expressions allow for remote code execution","id":"CVE-2024-9264","kev_date_added":null,"published":"2024-10-18"}],"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":"US public information, NVD API terms","name":"NVD"},{"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":"2024-11-22","vendors":["Grafana"]},"summary":"A user with data source creation permissions can escalate privileges to read, modify, and delete all data sources in the organization.","url":"https://insights.sbomify.com/CVE-2024-1442/"}