szb512 / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://www.cypress.io
MIT License
0 stars 0 forks source link

CVE-2015-8857 (Critical) detected in uglify-js-1.3.5.tgz #33

Open mend-bolt-for-github[bot] opened 5 years ago

mend-bolt-for-github[bot] commented 5 years ago

CVE-2015-8857 - Critical Severity Vulnerability

Vulnerable Library - uglify-js-1.3.5.tgz

JavaScript parser and compressor/beautifier toolkit

Library home page: https://registry.npmjs.org/uglify-js/-/uglify-js-1.3.5.tgz

Path to dependency file: /cypress/packages/driver/package.json

Path to vulnerable library: /packages/driver/node_modules/uglify-js/package.json

Dependency Hierarchy: - sinon-3.3.0.tgz (Root Library) - build-0.1.4.tgz - :x: **uglify-js-1.3.5.tgz** (Vulnerable Library)

Found in HEAD commit: 29dcad339d37f2169e5a640bf8d0d1438f7c18c2

Found in base branch: develop

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 (sinon): 4.0.0


Step up your Open Source Security Game with Mend here

issue-label-bot[bot] commented 5 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.75. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.