Open mend-bolt-for-github[bot] opened 2 years ago
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.
CVE-2022-25878 - High Severity Vulnerability
Vulnerable Libraries - protobufjs-6.11.2.tgz, protobufjs-6.10.1.tgz
protobufjs-6.11.2.tgz
Protocol Buffers for JavaScript (& TypeScript).
Library home page: https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz
Path to dependency file: /aws-rust-simple-http-endpoint/package.json
Path to vulnerable library: /aws-rust-simple-http-endpoint/node_modules/protobufjs/package.json,/aws-python-auth0-custom-authorizers-api/node_modules/protobufjs/package.json,/aws-node-dynamic-image-resizer/node_modules/protobufjs/package.json,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/protobufjs/package.json,/aws-golang-auth-examples/node_modules/protobufjs/package.json,/aws-node-http-api-typescript/node_modules/protobufjs/package.json,/aws-node-rest-api-typescript-simple/node_modules/protobufjs/package.json
Dependency Hierarchy: - serverless-1.83.3.tgz (Root Library) - components-2.34.9.tgz - platform-client-china-1.1.0.tgz - utils-china-0.1.28.tgz - :x: **protobufjs-6.11.2.tgz** (Vulnerable Library)
protobufjs-6.10.1.tgz
Protocol Buffers for JavaScript (& TypeScript).
Library home page: https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.1.tgz
Path to dependency file: /aws-node-typescript-apollo-lambda/package.json
Path to vulnerable library: /aws-node-typescript-apollo-lambda/node_modules/protobufjs/package.json
Dependency Hierarchy: - serverless-1.79.0.tgz (Root Library) - components-2.34.6.tgz - platform-client-china-1.0.33.tgz - utils-china-0.1.23.tgz - :x: **protobufjs-6.10.1.tgz** (Vulnerable Library)
Found in base branch: master
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.11.3
Direct dependency fix Resolution (serverless): 2.0.0-05627d62
Fix Resolution (protobufjs): 6.11.3
Direct dependency fix Resolution (serverless): 1.80.0-06ed01b8
Step up your Open Source Security Game with Mend here