turkdevops / web.dev

The frontend, backend, and content source code for web.dev
https://web.dev
Other
0 stars 0 forks source link

CVE-2022-25878 (High) detected in protobufjs-6.11.2.tgz #156

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2022-25878 - High Severity Vulnerability

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

Path to vulnerable library: /node_modules/protobufjs/package.json

Dependency Hierarchy: - firebase-9.0.0-beta.7.tgz (Root Library) - firestore-compat-0.0.900-exp.6ef484a04.tgz - proto-loader-0.6.4.tgz - :x: **protobufjs-6.11.2.tgz** (Vulnerable Library)

Found in HEAD commit: 90f516c6aaf0f29ad4dcf811b5f6d34152c03286

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 (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: High - Availability Impact: None

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 (firebase): 9.0.0-canary.1b33fda40


Step up your Open Source Security Game with Mend here