loggly / loggly-jslogger

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

CVE-2018-16487 (Medium) detected in lodash-3.10.1.tgz, lodash-4.3.0.tgz #78

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

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

CVE-2018-16487 - 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

A prototype pollution vulnerability was found in lodash <4.17.11 where the functions merge, mergeWith, and defaultsDeep can be tricked into adding or modifying properties of Object.prototype.

Publish Date: 2019-02-01

URL: CVE-2018-16487

CVSS 3 Score Details (5.6)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16487

Release Date: 2019-02-01

Fix Resolution: 4.17.11

MartinaGold commented 3 years ago

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