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-2017-16149 Vulnerability in npm package zwserver
CVE-2021-22112 Vulnerability in maven package org.springframework.security:spring-security-core
CVE-2020-7757 Vulnerability in npm package droppy
CVE-2022-43401 Vulnerability in maven package org.jenkins-ci.plugins:script-security
CVE-2021-26539 Vulnerability in maven package org.webjars.npm:sanitize-html