Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firebase-9.9.2.tgz: 4 vulnerabilities (highest severity is: 9.8) #301

Open
mend-bolt-for-github bot opened this issue Mar 13, 2024 · 2 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Mar 13, 2024

Vulnerable Library - firebase-9.9.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (firebase version) Remediation Possible**
CVE-2023-36665 Critical 9.8 protobufjs-7.0.0.tgz Transitive 9.9.3-20220816193712
CVE-2024-37890 High 7.5 ws-8.8.1.tgz Transitive 9.9.3-20220816193712
CVE-2023-5590 High 7.5 selenium-webdriver-4.1.2.tgz Transitive N/A*
CVE-2024-11023 Medium 5.3 auth-0.20.5.tgz Transitive 10.4.0-canary.031f19b01

*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 Library - protobufjs-7.0.0.tgz

Protocol Buffers for JavaScript (& TypeScript).

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • firebase-9.9.2.tgz (Root Library)
    • firestore-3.4.14.tgz
      • grpc-js-1.6.8.tgz
        • proto-loader-0.7.0.tgz
          • protobufjs-7.0.0.tgz (Vulnerable Library)

Found in base branch: master

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.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2023-36665

Release Date: 2023-07-05

Fix Resolution (protobufjs): 7.2.5

Direct dependency fix Resolution (firebase): 9.9.3-20220816193712

Step up your Open Source Security Game with Mend here

CVE-2024-37890

Vulnerable Library - ws-8.8.1.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.8.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • firebase-9.9.2.tgz (Root Library)
    • auth-0.20.5.tgz
      • selenium-webdriver-4.1.2.tgz
        • ws-8.8.1.tgz (Vulnerable Library)

Found in base branch: master

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.9.3-20220816193712

Step up your Open Source Security Game with Mend here

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: /package.json

Dependency Hierarchy:

  • firebase-9.9.2.tgz (Root Library)
    • auth-0.20.5.tgz
      • selenium-webdriver-4.1.2.tgz (Vulnerable Library)

Found in base branch: master

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://huntr.dev/bounties/e268cd68-4f34-49bd-878b-82b96dcc0c99/

Release Date: 2023-10-15

Fix Resolution: selenium-4.14.0;org.seleniumhq.selenium:selenium-ie-driver:4.14.1;Selenium.WebDriver - 4.14.1;selenium - 4.15.1;selenium-webdriver:4.20.1

Step up your Open Source Security Game with Mend here

CVE-2024-11023

Vulnerable Library - auth-0.20.5.tgz

The Firebase Authenticaton component of the Firebase JS SDK.

Library home page: https://registry.npmjs.org/@firebase/auth/-/auth-0.20.5.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • firebase-9.9.2.tgz (Root Library)
    • auth-0.20.5.tgz (Vulnerable Library)

Found in base branch: master

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.1-20240227144051

Direct dependency fix Resolution (firebase): 10.4.0-canary.031f19b01

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Mar 13, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title firebase-9.9.2.tgz: 1 vulnerabilities (highest severity is: 9.8) firebase-9.9.2.tgz: 2 vulnerabilities (highest severity is: 9.8) Jun 18, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

@mend-bolt-for-github mend-bolt-for-github bot changed the title firebase-9.9.2.tgz: 2 vulnerabilities (highest severity is: 9.8) firebase-9.9.2.tgz: 4 vulnerabilities (highest severity is: 9.8) Jan 19, 2025
Copy link
Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants