Path to dependency file: /pkg/fab/ccpackager/nodepackager/testdata/event_cc/package.json
Path to vulnerable library: /pkg/fab/ccpackager/nodepackager/testdata/event_cc/node_modules/fabric-shim/node_modules/protobufjs/package.json,/pkg/fab/ccpackager/nodepackager/testdata/example_cc1/node_modules/fabric-shim/node_modules/protobufjs/package.json,/pkg/fab/ccpackager/nodepackager/testdata/example_cc/node_modules/fabric-shim/node_modules/protobufjs/package.json
The package protobufjs before 6.11.3 are vulnerable to Prototype Pollution which can allow an attacker to add/modify properties of the Object.prototype. This vulnerability can occur in multiple ways: 1. by providing untrusted user input to util.setProperty or to ReflectionObject.setParsedOption functions 2. by parsing/loading .proto files
CVE-2022-25878 - High Severity Vulnerability
Vulnerable Library - protobufjs-5.0.3.tgz
Protocol Buffers for JavaScript. Finally.
Library home page: https://registry.npmjs.org/protobufjs/-/protobufjs-5.0.3.tgz
Path to dependency file: /pkg/fab/ccpackager/nodepackager/testdata/event_cc/package.json
Path to vulnerable library: /pkg/fab/ccpackager/nodepackager/testdata/event_cc/node_modules/fabric-shim/node_modules/protobufjs/package.json,/pkg/fab/ccpackager/nodepackager/testdata/example_cc1/node_modules/fabric-shim/node_modules/protobufjs/package.json,/pkg/fab/ccpackager/nodepackager/testdata/example_cc/node_modules/fabric-shim/node_modules/protobufjs/package.json
Dependency Hierarchy: - fabric-shim-1.4.6.tgz (Root Library) - :x: **protobufjs-5.0.3.tgz** (Vulnerable Library)
Found in base branch: main
Vulnerability Details
The package protobufjs before 6.11.3 are vulnerable to Prototype Pollution which can allow an attacker to add/modify properties of the Object.prototype. This vulnerability can occur in multiple ways: 1. by providing untrusted user input to util.setProperty or to ReflectionObject.setParsedOption functions 2. by parsing/loading .proto files
Publish Date: 2022-05-27
URL: CVE-2022-25878
CVSS 3 Score Details (8.2)
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: High - Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25878
Release Date: 2022-05-27
Fix Resolution (protobufjs): 6.10.3
Direct dependency fix Resolution (fabric-shim): 2.1.2
Step up your Open Source Security Game with Mend here