Skip to content

firebase-9.11.0.tgz: 6 vulnerabilities (highest severity is: 9.8) #12

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - firebase-9.11.0.tgz

Firebase JavaScript library for web and Node.js

Library home page: https://registry.npmjs.org/firebase/-/firebase-9.11.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/firebase/package.json

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (firebase version) Remediation Possible**
CVE-2023-36665 Critical 9.8 detected in multiple dependencies Transitive N/A*
CVE-2024-37890 High 7.5 ws-8.9.0.tgz Transitive 9.12.0-20221010190246
CVE-2023-5590 High 7.5 selenium-webdriver-4.1.2.tgz Transitive N/A*
CVE-2024-37168 Medium 5.3 grpc-js-1.7.1.tgz Transitive 9.12.0-20221010190246
CVE-2024-11023 Medium 5.3 firebase-9.11.0.tgz Direct @firebase/auth - 1.6.2
CVE-2025-5889 Low 3.1 brace-expansion-1.1.11.tgz Transitive 9.12.0-20221010190246

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2023-36665

Vulnerable Libraries - protobufjs-7.1.2.tgz, protobufjs-6.11.3.tgz

protobufjs-7.1.2.tgz

Protocol Buffers for JavaScript (& TypeScript).

Library home page: https://registry.npmjs.org/protobufjs/-/protobufjs-7.1.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/@grpc/grpc-js/node_modules/protobufjs/package.json

Dependency Hierarchy:

  • firebase-9.11.0.tgz (Root Library)
    • firestore-3.6.0.tgz
      • grpc-js-1.7.1.tgz
        • proto-loader-0.7.3.tgz
          • protobufjs-7.1.2.tgz (Vulnerable Library)

protobufjs-6.11.3.tgz

Protocol Buffers for JavaScript (& TypeScript).

Library home page: https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/protobufjs/package.json

Dependency Hierarchy:

  • firebase-9.11.0.tgz (Root Library)
    • firestore-3.6.0.tgz
      • proto-loader-0.6.13.tgz
        • protobufjs-6.11.3.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

"protobuf.js (aka protobufjs) 6.10.0 through 7.x before 7.2.5 allows Prototype Pollution, a different vulnerability than CVE-2022-25878. A user-controlled protobuf message can be used by an attacker to pollute the prototype of Object.prototype by adding and overwriting its data and functions. Exploitation can involve: (1) using the function parse to parse protobuf messages on the fly, (2) loading .proto files by using load/loadSync functions, or (3) providing untrusted input to the functions ReflectionObject.setParsedOption and util.setProperty.

Publish Date: 2023-07-05

URL: CVE-2023-36665

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

CVE-2024-37890

Vulnerable Library - ws-8.9.0.tgz

Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js

Library home page: https://registry.npmjs.org/ws/-/ws-8.9.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/ws/package.json

Dependency Hierarchy:

  • firebase-9.11.0.tgz (Root Library)
    • auth-0.20.8.tgz
      • selenium-webdriver-4.1.2.tgz
        • ws-8.9.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

ws is an open source WebSocket client and server for Node.js. A request with a number of headers exceeding theserver.maxHeadersCount threshold could be used to crash a ws server. The vulnerability was fixed in [email protected] (e55e510) and backported to [email protected] (22c2876), [email protected] (eeb76d3), and [email protected] (4abd8f6). In vulnerable versions of ws, the issue can be mitigated in the following ways: 1. Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. 2. Set server.maxHeadersCount to 0 so that no limit is applied.

Publish Date: 2024-06-17

URL: CVE-2024-37890

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-3h5v-q93c-6h6q

Release Date: 2024-06-17

Fix Resolution (ws): 8.17.1

Direct dependency fix Resolution (firebase): 9.12.0-20221010190246

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-5590

Vulnerable Library - selenium-webdriver-4.1.2.tgz

The official WebDriver JavaScript bindings from the Selenium project

Library home page: https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.1.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/selenium-webdriver/package.json

Dependency Hierarchy:

  • firebase-9.11.0.tgz (Root Library)
    • auth-0.20.8.tgz
      • selenium-webdriver-4.1.2.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

NULL Pointer Dereference in GitHub repository seleniumhq/selenium prior to 4.14.0.

Publish Date: 2023-10-15

URL: CVE-2023-5590

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-5590

Release Date: 2023-10-15

Fix Resolution: https://github.com/seleniumhq/selenium.git - selenium-4.14.0

CVE-2024-37168

Vulnerable Library - grpc-js-1.7.1.tgz

gRPC Library for Node - pure JS implementation

Library home page: https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.7.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/@grpc/grpc-js/package.json

Dependency Hierarchy:

  • firebase-9.11.0.tgz (Root Library)
    • firestore-3.6.0.tgz
      • grpc-js-1.7.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

@grpc/grps-js implements the core functionality of gRPC purely in JavaScript, without a C++ addon. Prior to versions 1.10.9, 1.9.15, and 1.8.22, there are two separate code paths in which memory can be allocated per message in excess of the grpc.max_receive_message_length channel option: If an incoming message has a size on the wire greater than the configured limit, the entire message is buffered before it is discarded; and/or if an incoming message has a size within the limit on the wire but decompresses to a size greater than the limit, the entire message is decompressed into memory, and on the server is not discarded. This has been patched in versions 1.10.9, 1.9.15, and 1.8.22.

Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2024-06-10

URL: CVE-2024-37168

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-7v5v-9h63-cj86

Release Date: 2024-06-10

Fix Resolution (@grpc/grpc-js): 1.8.22

Direct dependency fix Resolution (firebase): 9.12.0-20221010190246

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-11023

Vulnerable Library - firebase-9.11.0.tgz

Firebase JavaScript library for web and Node.js

Library home page: https://registry.npmjs.org/firebase/-/firebase-9.11.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/firebase/package.json

Dependency Hierarchy:

  • firebase-9.11.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Firebase JavaScript SDK utilizes a "FIREBASE_DEFAULTS" cookie to store configuration data, including an "_authTokenSyncURL" field used for session synchronization. If this cookie field is preset via an attacker by any other method, the attacker can manipulate the "_authTokenSyncURL" to point to their own server and it would allow an actor to capture user session data transmitted by the SDK. We recommend upgrading Firebase JS SDK at least to 10.9.0.

Publish Date: 2024-11-18

URL: CVE-2024-11023

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2024-11-18

Fix Resolution: @firebase/auth - 1.6.2

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2025-5889

Vulnerable Library - brace-expansion-1.1.11.tgz

Brace expansion as known from sh/bash

Library home page: https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/brace-expansion/package.json

Dependency Hierarchy:

  • firebase-9.11.0.tgz (Root Library)
    • auth-0.20.8.tgz
      • selenium-webdriver-4.1.2.tgz
        • tmp-0.2.1.tgz
          • rimraf-3.0.2.tgz
            • glob-7.2.3.tgz
              • minimatch-3.1.2.tgz
                • brace-expansion-1.1.11.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

A vulnerability was found in juliangruber brace-expansion up to 1.1.11. It has been rated as problematic. Affected by this issue is the function expand of the file index.js. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to apply a patch to fix this issue.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2025-06-09

URL: CVE-2025-5889

CVSS 3 Score Details (3.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-v6h2-p8h4-qcjw

Release Date: 2025-06-09

Fix Resolution (brace-expansion): 1.1.12

Direct dependency fix Resolution (firebase): 9.12.0-20221010190246

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions