{"answers":{"affected":"3 open source packages ship an affected version, including github.com/grafana/google-sheets-datasource. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-4457 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/google-sheets-datasource to 1.2.2 or later.","what":"CVE-2023-4457 is a medium-severity vulnerability in Grafana google-sheets-datasource, published on 16 Oct 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-4457 and fix it if it is affected.\n\nWhat it is: CVE-2023-4457 is a medium-severity vulnerability in Grafana google-sheets-datasource, published on 16 Oct 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-4457 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/grafana/google-sheets-datasource (Go): affected from 0.9.0; fixed in 1.2.2\n- github.com/grafana/google-sheets-datasource (Go): affected from 0.9.0; fixed in 1.2.2\n- github.com/grafana/google-sheets-datasource (Go): affected from 0.9.0; fixed in 1.2.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-2023-4457/ (Markdown: https://insights.sbomify.com/CVE-2023-4457/index.md)","id":"CVE-2023-4457","markdown":"https://insights.sbomify.com/CVE-2023-4457/index.md","name":"CVE-2023-4457","record":{"aliases":["GHSA-37x5-qpm8-53rq","GO-2023-2158"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Grafana plugin","requires_auth":"high_privilege","summary":"An attacker can view the Google Sheet API key via unsanitized error messages in the Grafana Google Sheets plugin.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[{"product":"google_sheets","vendor":"grafana"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"description":"Grafana is an open-source platform for monitoring and observability.\n\nThe Google Sheets data source plugin for Grafana, versions 0.9.0 to 1.2.2 are vulnerable to an information disclosure vulnerability.\n\nThe plugin did not properly sanitize error messages, making it potentially expose the Google Sheet API-key that is configured for the data source.\n\nThis vulnerability was fixed in version 1.2.2.","ecosystems":["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":"Google Sheets data source plugin for Grafana information disclosure vulnerability","id":"CVE-2023-4457","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":3,"n_references":1,"next":{"headline":"Kernel: ksmbd: smb2_open out-of-bounds read information disclosure vulnerability","id":"CVE-2023-4458"},"packages":[{"ecosystem":"Go","fixed":["1.2.2"],"introduced":["0.9.0"],"last_affected":[],"package":"github.com/grafana/google-sheets-datasource","purl":null,"source":"GHSA-37x5-qpm8-53rq"},{"ecosystem":"Go","fixed":["1.2.2"],"introduced":["0.9.0"],"last_affected":[],"package":"github.com/grafana/google-sheets-datasource","purl":"pkg:golang/github.com/grafana/google-sheets-datasource","source":"GHSA-37x5-qpm8-53rq"},{"ecosystem":"Go","fixed":["1.2.2"],"introduced":["0.9.0"],"last_affected":[],"package":"github.com/grafana/google-sheets-datasource","purl":"pkg:golang/github.com/grafana/google-sheets-datasource","source":"GO-2023-2158"}],"prev":{"headline":"Openshift-logging: lokistack authorisation is cached too broadly","id":"CVE-2023-4456"},"products":["google-sheets-datasource"],"published":"2023-10-16","related":[],"sources":[{"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-09-16","vendors":["Grafana"]},"summary":"An attacker can view the Google Sheet API key via unsanitized error messages in the Grafana Google Sheets plugin.","url":"https://insights.sbomify.com/CVE-2023-4457/"}