flamencist / flamencist/SelectorGenerator

CVE-2018-3721 (Medium) detected in lodash-1.0.2.tgz

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

Description

## CVE-2018-3721 - Medium Severity Vulnerability
Vulnerable Library - lodash-1.0.2.tgz

A utility library delivering consistency, customization, performance, and extras.


Library home page: https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz


Path to dependency file: /package.json


Path to vulnerable library: /node_modules/globule/node_modules/lodash/package.json


Dependency Hierarchy:
- gulp-3.9.1.tgz (Root Library)
- vinyl-fs-0.3.14.tgz
- glob-watcher-0.0.6.tgz
- gaze-0.5.2.tgz
- globule-0.1.0.tgz
- :x: **lodash-1.0.2.tgz** (Vulnerable Library)

Found in HEAD commit: dc2f1b08ce7e752558190e9785094a6975b614fd



Vulnerability Details



lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via __proto__, causing the addition or modification of an existing property that will exist on all objects.

Publish Date: 2018-06-07

URL: CVE-2018-3721



CVSS 3 Score Details (6.5)

Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low
- 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://www.npmjs.com/advisories/1067


Release Date: 2018-04-26


Fix Resolution (lodash): 4.17.5


Direct dependency fix Resolution (gulp): 4.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 trace the listed gulp 3.9.1 to vinyl-fs, glob-watcher, gaze, globule, and lodash dependency hierarchy. Check how the dependency resolves and verify that the completed upgrade removes lodash 1.0.2/CVE-2018-3721 without breaking the project.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
security, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.