{"answers":{"affected":"8 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-35957 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana to a fixed version for your release line: 8.5.13, 9.0.9 or 9.1.6.","what":"CVE-2022-35957 is a medium-severity authentication bypass vulnerability in Fedoraproject Fedora, published on 20 Sep 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-35957 and fix it if it is affected.\n\nWhat it is: CVE-2022-35957 is a medium-severity authentication bypass vulnerability in Fedoraproject Fedora, published on 20 Sep 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-35957 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 all versions; fixed in 8.5.13\n- github.com/grafana/grafana (Go): affected all versions; fixed in 8.5.13\n- github.com/grafana/grafana (Go): affected from 9.0.0; fixed in 9.0.9\n- github.com/grafana/grafana (Go): affected from 9.0.0; fixed in 9.0.9\n- github.com/grafana/grafana (Go): affected from 9.1.0; fixed in 9.1.6\n- github.com/grafana/grafana (Go): affected from 9.1.0; fixed in 9.1.6\n- grafana (Bitnami): affected all versions; fixed in 8.5.13, 9.0.9, 9.1.6\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-2022-35957/ (Markdown: https://insights.sbomify.com/CVE-2022-35957/index.md)","id":"CVE-2022-35957","markdown":"https://insights.sbomify.com/CVE-2022-35957/index.md","name":"CVE-2022-35957","record":{"aliases":["BIT-grafana-2022-35957","GHSA-ff5c-938w-8c9q","GO-2024-2847","MINI-3mmg-9m4v-3rjf","MINI-43j8-q9j5-gww2","MINI-68j3-5rm5-jpv4","MINI-8j7x-vc3q-phw6","MINI-8q96-9983-qwf3","MINI-cch4-j4q3-9c6w","MINI-cfmw-5xmc-rq44","MINI-f8w8-gpcr-9pf5","MINI-jf3c-cxhf-mh9x","MINI-m54c-j977-2jm4","MINI-mfwh-jj3p-gqpc","MINI-pm2g-95gh-hrgg","MINI-pw6q-chg3-wf77","MINI-q6xp-4p69-m7p9","MINI-rrg7-gc4j-gq7r","MINI-vcf6-gm2f-r2c4","MINI-xcx8-qq6r-r4x8","UBUNTU-CVE-2022-35957"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Grafana monitoring platform","requires_auth":"high_privilege","summary":"An admin can escalate to server admin and take over the instance when auth proxy is enabled, requiring immediate upgrade or disabling the feature.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"grafana","vendor":"grafana"}],"cvss":{"score":6.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"description":"Grafana is an open-source platform for monitoring and observability. Versions prior to 9.1.6 and 8.5.13 are vulnerable to an escalation from admin to server admin when auth proxy is used, allowing an admin to take over the server admin account and gain full control of the grafana instance. All installations should be upgraded as soon as possible. As a workaround deactivate auth proxy following the instructions at: https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/auth-proxy/","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":"Authentication Bypass in Grafana via auth proxy allowing escalation from admin to server admin","id":"CVE-2022-35957","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"fedoraproject:fedora","products":["fedoraproject:fedora","grafana:grafana"],"type":"auth_bypass","year":"2022"},"n_packages":8,"n_references":3,"next":{"headline":"`CHECK` failures in `AvgPool3DGrad` in TensorFlow","id":"CVE-2022-35959"},"packages":[{"ecosystem":"Bitnami","fixed":["8.5.13","9.0.9","9.1.6"],"introduced":["0","9.0.0","9.1.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2022-35957"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2024-2847"},{"ecosystem":"Go","fixed":["8.5.13"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-ff5c-938w-8c9q"},{"ecosystem":"Go","fixed":["8.5.13"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-ff5c-938w-8c9q"},{"ecosystem":"Go","fixed":["9.0.9"],"introduced":["9.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-ff5c-938w-8c9q"},{"ecosystem":"Go","fixed":["9.0.9"],"introduced":["9.0.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-ff5c-938w-8c9q"},{"ecosystem":"Go","fixed":["9.1.6"],"introduced":["9.1.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-ff5c-938w-8c9q"},{"ecosystem":"Go","fixed":["9.1.6"],"introduced":["9.1.0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-ff5c-938w-8c9q"}],"prev":{"headline":"update_by_case before 0.1.3 vulnerable to sql injection","id":"CVE-2022-35956"},"products":["grafana"],"published":"2022-09-20","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"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":"2026-01-28","vendors":["grafana"]},"summary":"An admin can escalate to server admin and take over the instance when auth proxy is enabled, requiring immediate upgrade or disabling the feature.","url":"https://insights.sbomify.com/CVE-2022-35957/"}