Description
Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).
Remediation
References
https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/minimist%20PoC.zip
https://snyk.io/vuln/SNYK-JS-MINIMIST-559764
https://stackoverflow.com/questions/8588563/adding-custom-properties-to-a-function/20278068#20278068
https://github.com/substack/minimist/issues/164
https://github.com/substack/minimist/blob/master/index.js#L69
https://security.netapp.com/advisory/ntap-20240621-0006/
Related Vulnerabilities
CVE-2022-21213 Vulnerability in maven package org.webjars.npm:mout
CVE-2020-7673 Vulnerability in npm package node-extend
CVE-2020-28469 Vulnerability in maven package org.webjars.npm:glob-parent
CVE-2020-7682 Vulnerability in npm package marked-tree
CVE-2021-21341 Vulnerability in maven package com.thoughtworks.xstream:xstream