loggly / loggly-jslogger

Client-side (browser) logger to use with Loggly v2
79 stars 52 forks source link

CVE-2018-3721 (Medium) detected in lodash-3.10.1.tgz, lodash-4.3.0.tgz #76

Closed mend-for-github-com[bot] closed 3 years ago

mend-for-github-com[bot] commented 3 years ago

CVE-2018-3721 - Medium Severity Vulnerability

Vulnerable Libraries - lodash-3.10.1.tgz, lodash-4.3.0.tgz

lodash-3.10.1.tgz

The modern build of lodash modular utilities.

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

Path to dependency file: loggly-jslogger/package.json

Path to vulnerable library: loggly-jslogger/node_modules/lodash/package.json

Dependency Hierarchy: - grunt-1.0.1.tgz (Root Library) - grunt-legacy-log-1.0.0.tgz - :x: **lodash-3.10.1.tgz** (Vulnerable Library)

lodash-4.3.0.tgz

Lodash modular utilities.

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

Path to dependency file: loggly-jslogger/package.json

Path to vulnerable library: loggly-jslogger/node_modules/grunt-legacy-util/node_modules/lodash/package.json,loggly-jslogger/node_modules/grunt-legacy-log-utils/node_modules/lodash/package.json

Dependency Hierarchy: - grunt-1.0.1.tgz (Root Library) - grunt-legacy-util-1.0.0.tgz - :x: **lodash-4.3.0.tgz** (Vulnerable Library)

Found in HEAD commit: 3247b5841e5a8923baf2e98a1914570b38eadd97

Found in base branch: master

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://nvd.nist.gov/vuln/detail/CVE-2018-3721

Release Date: 2018-06-07

Fix Resolution: 4.17.5

MartinaGold commented 3 years ago

The vulnerability was fixed in this PR https://github.com/loggly/loggly-jslogger/pull/80/files