GitHub Advisoryadvisory · npm

GHSA-qrmc-fj45-qfc2 Prototype Pollution in extend

MEDIUM Published 2019-02-07 Modified 2026-01-22 Official page ↗
Aliases
CVE-2018-16492
Ecosystem
npm
Packages
extend
Severity
Moderate
Weaknesses
CWE-400
Reviewed
2020-06-16

Affected packages

• npm extend: >= 3.0.0, < 3.0.2 → fixed in 3.0.2 • npm extend: >= 1.1.3, < 2.0.2 → fixed in 2.0.2

Description

Versions of `extend` prior to 3.0.2 (for 3.x) and 2.0.2 (for 2.x) are vulnerable to Prototype Pollution. The `extend()` function allows attackers to modify the prototype of Object causing the addition or modification of an existing property that will exist on all objects. Recommendation If you're using `extend` 3.x upgrade to 3.0.2 or later. If you're using `extend` 2.x upgrade to 2.0.2 or later.

Related

Alias · CVE (1)

  • CVE-2018-16492 A prototype pollution vulnerability was found in module extend <2.0.2, ~<3.0.2 that allows an attacker to inject arbitrary properties onto… vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References