flamencist / flamencist/CopyCssSelector

CVE-2021-44906 (High) detected in minimist-0.0.10.tgz

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Mend: dependency security vulnerability
Dominant language
JavaScript
Stars
28
Forks
3
PR merge metrics
No merged PRs in 30d

Description

## CVE-2021-44906 - High Severity Vulnerability
Vulnerable Library - minimist-0.0.10.tgz

parse argument options


Library home page: https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz


Path to dependency file: /package.json


Path to vulnerable library: /node_modules/optimist/node_modules/minimist/package.json


Dependency Hierarchy:
- karma-4.4.1.tgz (Root Library)
- optimist-0.6.1.tgz
- :x: **minimist-0.0.10.tgz** (Vulnerable Library)


Vulnerability Details



Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Publish Date: 2022-03-17

URL: CVE-2021-44906



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


For more information on CVSS3 Scores, click here.


Suggested Fix

Type: Upgrade version


Release Date: 2022-03-17


Fix Resolution (minimist): 0.2.2


Direct dependency fix Resolution (karma): 5.0.0

***
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with package.json and inspect the dependency path through karma 4.4.1 and optimist to minimist 0.0.10. Upgrade the direct dependency as indicated to karma 5.0.0, then verify that minimist resolves to at least 0.2.2 and run the project's available tests; done means the vulnerable version is no longer present.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.