CRITICAL 9.8
CVE-2021-44906
Prototype Pollution in minimist
Description
Minimist prior to 1.2.6 and 0.2.4 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » minimistvia npm minimist | < 0.2.4>= 1.0.0, < 1.2.6 | 0.2.4, 1.2.6 |
| org.webjars.npm » minimistvia npm minimist | < 0.2.4>= 1.0.0, < 1.2.6 | 0.2.4, 1.2.6 |
Blast radius
2affected artifacts
24affected versions
27dependent artifacts (est.)
57dependent versions
51% of the dependent artifacts (14) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 20 |
| 2 hops | 31 |
| 3 hops | 6 |
Most used dependents
- org.webjars.npm » mkdirp160 usages
- org.mvnpm » mkdirp39 usages
- org.webjars.npm » bower13 usages
- org.webjars.npm » mocha11 usages
- org.webjars.npm » opencollective9 usages
- org.webjars.npm » extract-zip7 usages
- org.webjars.npm » openlayers4 usages
- org.webjars.npm » mapbox-gl4 usages
- org.mvnpm » mocha4 usages
- org.webjars.npm » closure-util2 usages
- org.webjars.npm » togeojson2 usages
- org.webjars.npm » geojson-rewind2 usages
- org.webjars.npm » mapbox-gl-style-spec1 usages
- org.webjars.npm » osmtogeojson1 usages
- org.webjars.npm » phantomjs2-ext1 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2021-44906 | nvd.nist.gov |
| Package | substack/minimist | github.com |
| Web | minimistjs/minimist issue #11 | github.com |
| Web | substack/minimist issue #164 | github.com |
| Web | minimistjs/minimist pull request #24 | github.com |
| Web | minimistjs/minimist commit 34e20b8 | github.com |
| Web | minimistjs/minimist commit bc8ecee | github.com |
| Web | minimistjs/minimist commit c2b9819 | github.com |
| Web | minimistjs/minimist commit ef9153f | github.com |
| Web | Marynk/JavaScript-vulnerability-detection minimist PoC.zip | github.com |
| Web | minimistjs/minimist/commits/v0.2.4 | github.com |
| Web | substack/minimist index.js | github.com |
| Web | advisory/ntap-20240621-0006 | security.netapp.com |
| Web | vuln/SNYK-JS-MINIMIST-559764 | snyk.io |
| Web | questions/8588563/adding-custom-properties-to-a-function/20278068 | stackoverflow.com |
