Insecure Storage of Sensitive Information Affecting @google-cloud/firestore package, versions <6.2.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-GOOGLECLOUDFIRESTORE-6100635
  • published 5 Dec 2023
  • disclosed 4 Dec 2023
  • credit Abhishek Mathur

How to fix?

Upgrade @google-cloud/firestore to version 6.2.0 or higher.

Overview

@google-cloud/firestore is a Firestore Client Library for Node.js

Affected versions of this package are vulnerable to Insecure Storage of Sensitive Information. An attacker with logs read access can potentially read sensitive information exposed by developers that log objects through this._settings, which could inadvertently log the firestore key.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
4 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

5.5 medium