CVE-2021-44906
Substack Minimist vulnerability
Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Minimist. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Substack Minimist runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/substack/minimist/issues/164 · Exploit
- snyk.io/vuln/SNYK-JS-MINIMIST-559764 · Exploit
- github.com/Marynk/JavaScript-vulnerability-detection/blob/main/minimist%20PoC.zip · Exploit
- github.com/substack/minimist/blob/master/index.js#L69 · Exploit
- stackoverflow.com/questions/8588563/adding-custom-properties-to-a-function/20278068#202780 · Third Party Advisory
- security.netapp.com/advisory/ntap-20240621-0006/
- nvd.nist.gov/vuln/detail/CVE-2021-44906
- github.com/minimistjs/minimist/issues/11
- nvd.nist.gov/vuln/detail/CVE-2021-44906
- cve.org/CVERecord?id=CVE-2021-44906
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.