{"answers":{"affected":"2 open source packages ship an affected version, including @google-cloud/firestore. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-6460 in the wild and no public exploit code.","fix":"Upgrade @google-cloud/firestore to 6.1.0 or later.","what":"CVE-2023-6460 is a medium-severity vulnerability in Google nodejs-firestore, published on 4 Dec 2023. 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-2023-6460 and fix it if it is affected.\n\nWhat it is: CVE-2023-6460 is a medium-severity vulnerability in Google nodejs-firestore, published on 4 Dec 2023. 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-2023-6460 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @google-cloud/firestore (npm): affected all versions; fixed in 6.1.0\n- @google-cloud/firestore (npm): affected all versions; fixed in 6.1.0\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-6460/ (Markdown: https://insights.sbomify.com/CVE-2023-6460/index.md)","id":"CVE-2023-6460","markdown":"https://insights.sbomify.com/CVE-2023-6460/index.md","name":"CVE-2023-6460","record":{"aliases":["GHSA-4g6q-77j7-vvjc"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Firestore Node.js library","requires_auth":"high_privilege","summary":"Developers using the Firestore Node.js library may inadvertently log sensitive API keys, exposing them to anyone with log access.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"cloud_firestore","vendor":"google"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"},{"id":"CWE-922","name":"Insecure Storage of Sensitive Information"}],"description":"A potential logging of the firestore key via logging within nodejs-firestore exists - Developers who were logging objects through this._settings would be logging the firestore key as well potentially exposing it to anyone with logs read access. We recommend upgrading to version 6.1.0 to avoid this issue","ecosystems":["npm"],"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":"Information leak in nodejs-firestore","id":"CVE-2023-6460","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Cross-site Scripting (XSS) - Reflected in viliusle/minipaint","id":"CVE-2023-6461"},"packages":[{"ecosystem":"npm","fixed":["6.1.0"],"introduced":["0"],"last_affected":[],"package":"@google-cloud/firestore","purl":null,"source":"GHSA-4g6q-77j7-vvjc"},{"ecosystem":"npm","fixed":["6.1.0"],"introduced":["0"],"last_affected":[],"package":"@google-cloud/firestore","purl":"pkg:npm/%40google-cloud/firestore","source":"GHSA-4g6q-77j7-vvjc"}],"prev":{"headline":"Public endpoint /metrics of Calls plugin reveals channel IDs","id":"CVE-2023-6459"},"products":["nodejs-firestore"],"published":"2023-12-04","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":"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":"2026-05-07","vendors":["Google"]},"summary":"Developers using the Firestore Node.js library may inadvertently log sensitive API keys, exposing them to anyone with log access.","url":"https://insights.sbomify.com/CVE-2023-6460/"}