HIGH

CVE-2018-16487

Prototype Pollution in lodash

Description

Versions of lodash before 4.17.11 are vulnerable to prototype pollution.

The vulnerable functions are 'defaultsDeep', 'merge', and 'mergeWith' which allow a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.

Recommendation

Update to version 4.17.11 or later.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.mvnpm » lodashvia npm lodash
< 4.17.11
4.17.11
org.webjars » lodashvia npm lodash
< 4.17.11
4.17.11
org.webjars.npm » lodashvia npm lodash
< 4.17.11
4.17.11

Blast radius

3affected artifacts
82affected versions
155dependent artifacts (est.)
1,881dependent versions

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

DepthDependent versions
Direct
483
2 hops
778
3 hops
423
4 hops
179
5 hops
12
6 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) RubyGems (1 package) . See all on OSV

References

Advisorynvd.nist.gov
Webgithub.com
Webhackerone.com
Webgithub.com
Websecurity.netapp.com