{"answers":{"affected":"4 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 4 products.","exploited":"There is no known exploitation of CVE-2020-12458 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/grafana to 7.2.1 or later.","what":"CVE-2020-12458 is a medium-severity vulnerability in Fedoraproject Fedora, published on 29 Apr 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-12458 and fix it if it is affected.\n\nWhat it is: CVE-2020-12458 is a medium-severity vulnerability in Fedoraproject Fedora, published on 29 Apr 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-12458 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 7.2.1\n- github.com/grafana/grafana (Go): affected all versions; fixed in 7.2.1\n- grafana (Bitnami): affected all versions; fixed in 6.7.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-2020-12458/ (Markdown: https://insights.sbomify.com/CVE-2020-12458/index.md)","id":"CVE-2020-12458","markdown":"https://insights.sbomify.com/CVE-2020-12458/index.md","name":"CVE-2020-12458","record":{"aliases":["BIT-grafana-2020-12458","GHSA-3jq7-8ph8-63xm","GO-2024-2513","MINI-2xq5-hmr3-vwwm","MINI-2xvh-mf94-pw3j","MINI-55gq-wxfr-7g4r","MINI-6mgw-3r33-6x4c","MINI-6wfv-2mj9-qf4r","MINI-93pw-gmr2-437h","MINI-974g-gp94-423r","MINI-9fqq-cwr7-5j43","MINI-fhrq-hgjm-g65f","MINI-fq7f-xhrf-jp5j","MINI-p3p9-3w7p-x36r","MINI-pmxv-435q-c48q","MINI-qvp7-r8h4-7rp4","MINI-rhmw-3375-j87j","MINI-wg4g-m3vq-x4qf","MINI-x2ww-j4ff-vj56","MINI-xh5x-8xww-7gc8","UBUNTU-CVE-2020-12458"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Grafana monitoring platform","requires_auth":"low_privilege","summary":"Local attackers can read Grafana database files to expose sensitive information like datasource passwords due to world-readable permissions.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"grafana","vendor":"grafana"},{"product":"ceph_storage","vendor":"redhat"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"description":"An information-disclosure flaw was found in Grafana through 6.7.3. The database directory /var/lib/grafana and database file /var/lib/grafana/grafana.db are world readable. This can result in exposure of sensitive information (e.g., cleartext or encrypted datasource passwords).","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 information disclosure","id":"CVE-2020-12458","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"fedoraproject:fedora","products":["fedoraproject:fedora","grafana:grafana","redhat:enterprise_linux"],"type":"information_disclosure","year":"2020"},"n_packages":4,"n_references":6,"next":{"headline":"Grafana world readable configuration files","id":"CVE-2020-12459"},"packages":[{"ecosystem":"Bitnami","fixed":["6.7.4"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2020-12458"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GO-2024-2513"},{"ecosystem":"Go","fixed":["7.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":null,"source":"GHSA-3jq7-8ph8-63xm"},{"ecosystem":"Go","fixed":["7.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"GHSA-3jq7-8ph8-63xm"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2020-12457"},"products":["n/a"],"published":"2020-04-29","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Local attackers can read Grafana database files to expose sensitive information like datasource passwords due to world-readable permissions.","url":"https://insights.sbomify.com/CVE-2020-12458/"}