attesch/PrestaShop

CVE-2021-44906 (Critical) detected in multiple libraries

Opened this issue · 0 comments

CVE-2021-44906 - Critical Severity Vulnerability

Vulnerable Libraries - minimist-0.0.8.tgz, minimist-0.0.10.tgz, minimist-1.2.0.tgz

minimist-0.0.8.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz

Path to dependency file: /PrestaShop/tests/Selenium/package.json

Path to vulnerable library: /node_modules/minimist/package.json,/node_modules/minimist/package.json,/node_modules/minimist/package.json,/node_modules/minimist/package.json

Dependency Hierarchy:

  • babel-register-6.26.0.tgz (Root Library)
    • mkdirp-0.5.1.tgz
      • minimist-0.0.8.tgz (Vulnerable Library)
minimist-0.0.10.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz

Path to dependency file: /PrestaShop/tests/E2E/package.json

Path to vulnerable library: /tests/E2E/package.json

Dependency Hierarchy:

  • webdriverio-4.14.4.tgz (Root Library)
    • optimist-0.6.1.tgz
      • minimist-0.0.10.tgz (Vulnerable Library)
minimist-1.2.0.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz

Path to dependency file: /PrestaShop/tests/E2E/package.json

Path to vulnerable library: /tests/E2E/package.json

Dependency Hierarchy:

  • minimist-1.2.0.tgz (Vulnerable Library)

Found in HEAD commit: bb7465065dfeed9f49bb99b6901ab933563af739

Found in base branch: develop

Vulnerability Details

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Publish Date: 2022-03-17

URL: CVE-2021-44906

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: GHSA-xvch-5gv4-984h

Release Date: 2022-03-17

Fix Resolution (minimist): 0.2.4

Direct dependency fix Resolution (webdriverio): 5.0.0


Step up your Open Source Security Game with Mend here