Prototype Pollution

Affecting extend package, versions <2.0.2 || >=3.0.0 <3.0.2

Overview

extend is a port of the classic extend() method from jQuery.

Affected versions of this package are vulnerable to Prototype Pollution. Utilities function can be tricked into modifying the prototype of "Object" when the attacker control part of the structure passed to these function. This can let an attacker add or modify existing property that will exist on all object.

Remediation

Upgrade extend to version 2.0.2, 3.0.2 or higher.

References

Snyk patch available for versions:

Do your applications use this vulnerable package?

CVSS Score

1.8
low severity
  • Attack Vector
    Local
  • Attack Complexity
    High
  • Privileges Required
    High
  • User Interaction
    Required
  • Scope
    Unchanged
  • Confidentiality
    None
  • Integrity
    None
  • Availability
    Low
CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:L
Credit
Unknown
CVE
CVE-2018-16492
CWE
CWE-400
Snyk ID
npm:extend:20180424
Disclosed
24 Apr, 2018
Published
23 Jul, 2018