MODERATE 5.6

CVE-2020-7598

Prototype Pollution in minimist

Description

Affected versions of minimist are vulnerable to prototype pollution. Arguments are not properly sanitized, allowing an attacker to modify the prototype of Object, causing the addition or modification of an existing property that will exist on all objects.
Parsing the argument --__proto__.y=Polluted adds a y property with value Polluted to all objects. The argument --__proto__=Polluted raises and uncaught error and crashes the application.
This is exploitable if attackers have control over the arguments being passed to minimist.

Recommendation

Upgrade to versions 0.2.1, 1.2.3 or later.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.mvnpm » minimistvia npm minimist
< 0.2.1>= 1.0.0, < 1.2.3
0.2.1, 1.2.3
org.webjars.npm » minimistvia npm minimist
< 0.2.1>= 1.0.0, < 1.2.3
0.2.1, 1.2.3

Blast radius

2affected artifacts
17affected versions
27dependent artifacts (est.)
57dependent versions

51% of the dependent artifacts (14) still pull an affected version in their latest release.

DepthDependent versions
Direct
20
2 hops
31
3 hops
6

Most used dependents

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