firebase-7.24.0.tgz: 3 vulnerabilities (highest severity is: 9.8)
mend-for-github-com opened this issue · 0 comments
Vulnerable Library - firebase-7.24.0.tgz
Found in HEAD commit: 84871f913299c03569bde7baed81829733ed9798
Vulnerabilities
CVE | Severity | CVSS | Dependency | Type | Fixed in (firebase version) | Remediation Possible** |
---|---|---|---|---|---|---|
CVE-2023-36665 | Critical | 9.8 | protobufjs-6.11.3.tgz | Transitive | 8.0.0-2020922203858 | ❌ |
CVE-2022-0235 | Medium | 6.1 | node-fetch-2.6.1.tgz | Transitive | 8.10.1-2022028193537 | ❌ |
CVE-2020-7765 | Medium | 5.3 | util-0.3.2.tgz | Transitive | 8.0.0-2020922203858 | ❌ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2023-36665
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
Dependency Hierarchy:
- firebase-7.24.0.tgz (Root Library)
- firestore-1.18.0.tgz
- proto-loader-0.5.6.tgz
- ❌ protobufjs-6.11.3.tgz (Vulnerable Library)
- proto-loader-0.5.6.tgz
- firestore-1.18.0.tgz
Found in HEAD commit: 84871f913299c03569bde7baed81829733ed9798
Found in base branch: master
Vulnerability Details
protobuf.js (aka protobufjs) 6.10.0 through 7.x before 7.2.4 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. NOTE: this CVE Record is about "Object.constructor.prototype. = ...;" whereas CVE-2022-25878 was about "Object.proto. = ...;" instead.
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
Suggested Fix
Type: Upgrade version
Origin: https://www.code-intelligence.com/blog/cve-protobufjs-prototype-pollution-cve-2023-36665
Release Date: 2023-07-05
Fix Resolution (protobufjs): 7.2.4
Direct dependency fix Resolution (firebase): 8.0.0-2020922203858
CVE-2022-0235
Vulnerable Library - node-fetch-2.6.1.tgz
A light-weight module that brings window.fetch to node.js
Library home page: https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz
Dependency Hierarchy:
- firebase-7.24.0.tgz (Root Library)
- functions-0.5.1.tgz
- ❌ node-fetch-2.6.1.tgz (Vulnerable Library)
- functions-0.5.1.tgz
Found in HEAD commit: 84871f913299c03569bde7baed81829733ed9798
Found in base branch: master
Vulnerability Details
node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor
Publish Date: 2022-01-16
URL: CVE-2022-0235
CVSS 3 Score Details (6.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Changed
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-r683-j2x4-v87g
Release Date: 2022-01-16
Fix Resolution (node-fetch): 2.6.7
Direct dependency fix Resolution (firebase): 8.10.1-2022028193537
CVE-2020-7765
Vulnerable Library - util-0.3.2.tgz
_NOTE: This is specifically tailored for Firebase JS SDK usage, if you are not a member of the Firebase team, please avoid using this package_
Library home page: https://registry.npmjs.org/@firebase/util/-/util-0.3.2.tgz
Dependency Hierarchy:
- firebase-7.24.0.tgz (Root Library)
- ❌ util-0.3.2.tgz (Vulnerable Library)
Found in HEAD commit: 84871f913299c03569bde7baed81829733ed9798
Found in base branch: master
Vulnerability Details
This affects the package @firebase/util before 0.3.4. This vulnerability relates to the deepExtend function within the DeepCopy.ts file. Depending on if user input is provided, an attacker can overwrite and pollute the object prototype of a program.
Publish Date: 2020-11-16
URL: CVE-2020-7765
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: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7765
Release Date: 2020-11-16
Fix Resolution (@firebase/util): 0.3.3-2020922203858
Direct dependency fix Resolution (firebase): 8.0.0-2020922203858