EcommEasy / EcommEasy-Admin

The admin app of EcommEasy build using React and Express.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2022-37598 (Critical) detected in uglify-js-3.5.2.tgz, uglify-js-3.4.10.tgz

mend-bolt-for-github opened this issue · comments

CVE-2022-37598 - Critical Severity Vulnerability

Vulnerable Libraries - uglify-js-3.5.2.tgz, uglify-js-3.4.10.tgz

uglify-js-3.5.2.tgz

JavaScript parser, mangler/compressor and beautifier toolkit

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

Path to dependency file: /EcommEasy-Admin/package.json

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

Dependency Hierarchy:

  • handlebars-4.1.1.tgz (Root Library)
    • uglify-js-3.5.2.tgz (Vulnerable Library)
uglify-js-3.4.10.tgz

JavaScript parser, mangler/compressor and beautifier toolkit

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

Path to dependency file: /EcommEasy-Admin/package.json

Path to vulnerable library: /node_modules/html-minifier/node_modules/uglify-js/package.json

Dependency Hierarchy:

  • html-webpack-plugin-3.2.0.tgz (Root Library)
    • html-minifier-3.5.21.tgz
      • uglify-js-3.4.10.tgz (Vulnerable Library)

Found in HEAD commit: 7f59033ff8afe2f83ad2413d6b10103e2f2d764e

Found in base branch: master

Vulnerability Details

** DISPUTED ** Prototype pollution vulnerability in function DEFNODE in ast.js in mishoo UglifyJS 3.13.2 via the name variable in ast.js. NOTE: the vendor considers this an invalid report.

Publish Date: 2022-10-20

URL: CVE-2022-37598

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

Release Date: 2022-10-20

Fix Resolution (uglify-js): 3.13.10

Direct dependency fix Resolution (handlebars): 4.1.2-0

Fix Resolution (uglify-js): 3.13.10

Direct dependency fix Resolution (html-webpack-plugin): 4.0.0


Step up your Open Source Security Game with Mend here