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-2021-21363 Vulnerability in maven package io.swagger:swagger-generator
CVE-2021-34081 Vulnerability in npm package gitsome
CVE-2023-29511 Vulnerability in maven package org.xwiki.platform:xwiki-platform-administration-ui
CVE-2022-31167 Vulnerability in maven package org.xwiki.platform:xwiki-platform-security
CVE-2021-25930 Vulnerability in maven package org.opennms:opennms-webapp