billmcchesney1 / page.js

Micro client-side router inspired by the Express router
http://visionmedia.github.com/page.js
0 stars 0 forks source link

WS-2015-0033 (High) detected in uglify-js-2.4.15.tgz, uglify-js-2.2.5.tgz - autoclosed #9

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

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

WS-2015-0033 - High Severity Vulnerability

Vulnerable Libraries - uglify-js-2.4.15.tgz, uglify-js-2.2.5.tgz

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: page.js/package.json

Path to vulnerable library: page.js/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)

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: page.js/package.json

Path to vulnerable library: page.js/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)

Found in HEAD commit: 4f267af7516f69ccef3759761242768737c485ea

Found in base branch: master

Vulnerability Details

uglifier incorrectly handles non-boolean comparisons during minification.The upstream library for the Ruby uglifier gem, UglifyJS, is affected by a vulnerability that allows a specially crafted Javascript file to have altered functionality after minification. This bug, found in UglifyJS versions 2.4.23 and earlier, was demonstrated to allow potentially malicious code to be hidden within secure code, and activated by the minification process.

Publish Date: 2015-07-22

URL: WS-2015-0033

CVSS 3 Score Details (7.2)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://hakiri.io/technologies/uglifier/issues/279911d9720338

Release Date: 2020-06-07

Fix Resolution: Uglifier - 2.7.2;uglify-js - v2.4.24

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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.