*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.
CVE-2023-36665
Vulnerable Libraries - protobufjs-7.1.0.tgz, protobufjs-6.11.3.tgz
protobufjs-7.1.0.tgz
Protocol Buffers for JavaScript (& TypeScript).
Library home page: https://registry.npmjs.org/protobufjs/-/protobufjs-7.1.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/@grpc/grpc-js/node_modules/protobufjs/package.json
Dependency Hierarchy:
- firestore-3.4.15.tgz (Root Library)
- grpc-js-1.6.12.tgz
- proto-loader-0.7.2.tgz
- β protobufjs-7.1.0.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:
- firestore-3.4.15.tgz (Root Library)
- proto-loader-0.6.13.tgz
- β protobufjs-6.11.3.tgz (Vulnerable Library)
Found in base branch: vue
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 (5.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- 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.code-intelligence.com/blog/cve-protobufjs-prototype-pollution-cve-2023-36665
Release Date: 2023-07-05
Fix Resolution: protobufjs - 7.2.4
Step up your Open Source Security Game with Mend here