CVE-2023-6460 Information leak in nodejs-firestore
Developers using the Firestore Node.js library may inadvertently log sensitive API keys, exposing them to anyone with log access.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-6460?
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.
Official 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
Which versions are affected by CVE-2023-6460?
2 open source packages ship an affected version, including @google-cloud/firestore. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@google-cloud/firestore npm | All versions | 6.1.0 |
@google-cloud/firestore npm | All versions | 6.1.0 |
Products include Google Cloud Firestore.
How do I fix CVE-2023-6460?
Upgrade @google-cloud/firestore to 6.1.0 or later.
Is CVE-2023-6460 being exploited?
There is no known exploitation of CVE-2023-6460 in the wild and no public exploit code.
Sources
Also known as GHSA-4g6q-77j7-vvjc.