rvvergara / advanced-web-developer-bootcamp-notes-examples-and-exercises

Examples and Exercises compiled. From the awesome Advanced Web Developer Bootcamp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2022-37598 (Critical) detected in uglify-js-3.4.4.tgz, uglify-js-3.4.5.tgz

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

CVE-2022-37598 - Critical Severity Vulnerability

Vulnerable Libraries - uglify-js-3.4.4.tgz, uglify-js-3.4.5.tgz

uglify-js-3.4.4.tgz

JavaScript parser, mangler/compressor and beautifier toolkit

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

Path to dependency file: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/package.json

Path to vulnerable library: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/uglify-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/uglify-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/uglify-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/uglify-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/uglify-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/uglify-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/uglify-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/uglify-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/uglify-js/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/uglify-js/package.json

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • sw-precache-webpack-plugin-0.11.4.tgz
      • uglify-js-3.4.4.tgz (Vulnerable Library)
uglify-js-3.4.5.tgz

JavaScript parser, mangler/compressor and beautifier toolkit

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

Path to dependency file: /Section34-37-Warbler-Final-Project/warbler/warbler-client/package.json

Path to vulnerable library: /Section34-37-Warbler-Final-Project/warbler/warbler-client/node_modules/uglify-js/package.json,/Section34-37-Warbler-Final-Project/warbler/warbler-client/node_modules/uglify-js/package.json

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • sw-precache-webpack-plugin-0.11.4.tgz
      • uglify-js-3.4.5.tgz (Vulnerable Library)

Found in HEAD commit: d80f181a2f4dd1169fbef38813309ffdd4ad82d4

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 (react-scripts): 3.3.1

Fix Resolution (uglify-js): 3.13.10

Direct dependency fix Resolution (react-scripts): 3.3.1


Step up your Open Source Security Game with Mend here