The uglify-js package before 2.4.24 for Node.js does not properly account for non-boolean values when rewriting boolean expressions, which might allow attackers to bypass security mechanisms or possibly have unspecified other impact by leveraging improperly rewritten Javascript.
CVE-2015-8857 - High Severity Vulnerability
Vulnerable Libraries - uglify-js-2.2.5.tgz, uglify-js-2.4.15.tgz
uglify-js-2.2.5.tgz
JavaScript parser, mangler/compressor and beautifier toolkit
Library home page: https://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/transformers/node_modules/uglify-js/package.json
Dependency Hierarchy: - jade-1.11.0.tgz (Root Library) - transformers-2.1.0.tgz - :x: **uglify-js-2.2.5.tgz** (Vulnerable Library)
uglify-js-2.4.15.tgz
JavaScript parser, mangler/compressor and beautifier toolkit
Library home page: https://registry.npmjs.org/uglify-js/-/uglify-js-2.4.15.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/jscoverage/node_modules/uglify-js/package.json
Dependency Hierarchy: - jscoverage-0.5.9.tgz (Root Library) - :x: **uglify-js-2.4.15.tgz** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
The uglify-js package before 2.4.24 for Node.js does not properly account for non-boolean values when rewriting boolean expressions, which might allow attackers to bypass security mechanisms or possibly have unspecified other impact by leveraging improperly rewritten Javascript.
Publish Date: 2017-01-23
URL: CVE-2015-8857
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
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8858
Release Date: 2017-01-23
Fix Resolution (uglify-js): 2.4.24
Direct dependency fix Resolution (jscoverage): 0.6.0
:rescue_worker_helmet: Automatic Remediation is available for this issue