{"answers":{"affected":"3 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-27358 exists.","fix":"Upgrade github.com/grafana/grafana to 7.4.2 or later.","what":"CVE-2021-27358 is a high-severity denial of service vulnerability in Grafana Grafana, published on 18 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-27358 and fix it if it is affected.\n\nWhat it is: CVE-2021-27358 is a high-severity denial of service vulnerability in Grafana Grafana, published on 18 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-27358 exists.\n\nAffected packages and fixed versions:\n- github.com/grafana/grafana (Go): affected from 6.7.3; fixed in 7.4.2\n- github.com/grafana/grafana (Go): affected from 6.7.3; fixed in 7.4.2\n- grafana (Bitnami): affected from 6.7.3; fixed in 7.4.2\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-2021-27358/ (Markdown: https://insights.sbomify.com/CVE-2021-27358/index.md)","id":"CVE-2021-27358","markdown":"https://insights.sbomify.com/CVE-2021-27358/index.md","name":"CVE-2021-27358","record":{"aliases":["BIT-grafana-2021-27358","GHSA-h5rh-w6vm-9ghc","UBUNTU-CVE-2021-27358"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Grafana monitoring tool","requires_auth":"none","summary":"Unauthenticated attackers can cause a denial of service in Grafana via the snapshot feature if a common configuration is enabled.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"grafana","vendor":"grafana"},{"product":"e-series_performance_analyzer","vendor":"netapp"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"description":"The snapshot feature in Grafana 6.7.3 through 7.4.1 can allow an unauthenticated remote attackers to trigger a Denial of Service via a remote API call if a commonly used configuration is set.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-27358.yaml","stars":null,"title":"Grafana Unauthenticated Snapshot Creation"}],"tier":"weaponised"},"has_fix":true,"headline":"Denial of service in Grafana","id":"CVE-2021-27358","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"grafana:grafana","products":["grafana:grafana","netapp:e-series_performance_analyzer"],"type":"denial_of_service","year":"2021"},"n_packages":3,"n_references":4,"next":{"headline":"Memory corruption in n/a","id":"CVE-2021-27362"},"packages":[{"ecosystem":"Bitnami","fixed":["7.4.2"],"introduced":["6.7.3"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2021-27358"},{"ecosystem":"Go","fixed":["7.4.2"],"introduced":["6.7.3"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-h5rh-w6vm-9ghc"},{"ecosystem":"Go","fixed":["7.4.2"],"introduced":["6.7.3"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-h5rh-w6vm-9ghc"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2021-27357"},"products":["n/a"],"published":"2021-03-18","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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Unauthenticated attackers can cause a denial of service in Grafana via the snapshot feature if a common configuration is enabled.","url":"https://insights.sbomify.com/CVE-2021-27358/"}