{"answers":{"affected":"6 open source packages ship an affected version, including github.com/grafana/alloy and grafana-alloy. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-8975 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/alloy to a fixed version for your release line: 1.3.4 or 1.4.1.","what":"CVE-2024-8975 is a high-severity vulnerability in Grafana Alloy, published on 25 Sep 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-8975 and fix it if it is affected.\n\nWhat it is: CVE-2024-8975 is a high-severity vulnerability in Grafana Alloy, published on 25 Sep 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-8975 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/grafana/alloy (Go): affected all versions; fixed in 1.3.4, 1.4.1\n- github.com/grafana/alloy (Go): affected all versions; fixed in 1.3.4\n- github.com/grafana/alloy (Go): affected all versions; fixed in 1.3.4\n- github.com/grafana/alloy (Go): affected from 1.4.0-rc.0; fixed in 1.4.1\n- github.com/grafana/alloy (Go): affected from 1.4.0-rc.0; fixed in 1.4.1\n- grafana-alloy (Bitnami): affected all versions up to 1.4.0-rc0; no fix listed\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-8975/ (Markdown: https://insights.sbomify.com/CVE-2024-8975/index.md)","id":"CVE-2024-8975","markdown":"https://insights.sbomify.com/CVE-2024-8975/index.md","name":"CVE-2024-8975","record":{"aliases":["BIT-grafana-alloy-2024-8975","GHSA-chqx-36rm-rf8h","GO-2024-3168"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Grafana Alloy","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges to SYSTEM on Windows due to an unquoted service path in Grafana Alloy.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[{"product":"alloy","vendor":"grafana"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-428","name":"Unquoted Search Path or Element"}],"description":"Unquoted Search Path or Element vulnerability in Grafana Alloy on Windows allows Privilege Escalation from Local User to SYSTEM\nThis issue affects Alloy: before 1.3.3, from 1.4.0-rc.0 through 1.4.0-rc.1.","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 Alloy on Windows Unquoted service path","id":"CVE-2024-8975","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":6,"n_references":4,"next":{"headline":"Server-Side Request Forgery (SSRF) in GitLab","id":"CVE-2024-8977"},"packages":[{"ecosystem":"Bitnami","fixed":[],"introduced":["0","1.4.0-rc0","1.4.0-rc1"],"last_affected":["1.4.0-rc0","1.4.0-rc1"],"package":"grafana-alloy","purl":"pkg:bitnami/grafana-alloy","source":"BIT-grafana-alloy-2024-8975"},{"ecosystem":"Go","fixed":["1.3.4","1.4.1"],"introduced":["0","1.4.0-rc.0"],"last_affected":[],"package":"github.com/grafana/alloy","purl":"pkg:golang/github.com/grafana/alloy","source":"GO-2024-3168"},{"ecosystem":"Go","fixed":["1.3.4"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/alloy","purl":null,"source":"GHSA-chqx-36rm-rf8h"},{"ecosystem":"Go","fixed":["1.3.4"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/alloy","purl":"pkg:golang/github.com/grafana/alloy","source":"GHSA-chqx-36rm-rf8h"},{"ecosystem":"Go","fixed":["1.4.1"],"introduced":["1.4.0-rc.0"],"last_affected":[],"package":"github.com/grafana/alloy","purl":null,"source":"GHSA-chqx-36rm-rf8h"},{"ecosystem":"Go","fixed":["1.4.1"],"introduced":["1.4.0-rc.0"],"last_affected":[],"package":"github.com/grafana/alloy","purl":"pkg:golang/github.com/grafana/alloy","source":"GHSA-chqx-36rm-rf8h"}],"prev":{"headline":"Incorrect Provision of Specified Functionality in GitLab","id":"CVE-2024-8974"},"products":["Alloy"],"published":"2024-09-25","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":"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":"total"},"state":"PUBLISHED","updated":"2024-09-26","vendors":["Grafana"]},"summary":"Local attackers can escalate privileges to SYSTEM on Windows due to an unquoted service path in Grafana Alloy.","url":"https://insights.sbomify.com/CVE-2024-8975/"}