minimist@0.2.2 vulnerabilities

parse argument options

Direct Vulnerabilities

Known vulnerabilities in the minimist package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
Prototype Pollution

minimist is a parse argument options module.

Affected versions of this package are vulnerable to Prototype Pollution due to a missing handler to Function.prototype.

Notes:

  • This vulnerability is a bypass to CVE-2020-7598

  • The reason for the different CVSS between CVE-2021-44906 to CVE-2020-7598, is that CVE-2020-7598 can pollute objects, while CVE-2021-44906 can pollute only function.

How to fix Prototype Pollution?

Upgrade minimist to version 0.2.4, 1.2.6 or higher.

<0.2.4 >=1.2.0 <1.2.6