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-21290 Vulnerability in maven package io.netty:netty-common
CVE-2020-8178 Vulnerability in npm package jison
CVE-2022-21129 Vulnerability in npm package nemo-appium
CVE-2019-16728 Vulnerability in maven package org.webjars.npm:dompurify
CVE-2023-27095 Vulnerability in maven package cn.hippo4j:hippo4j-core