Advisory

GHSA-qrmc-fj45-qfc2

Also known as: CVE-2018-16492

Summary

Prototype Pollution in extend

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-02-07 18:03 UTC
Modified
2026-02-03 03:09 UTC

Affected packages and fixes

extend

npm · All systems

Affected

  • introduced 3.0.0, fixed 3.0.2 (semver)

Fixed versions

3.0.2

Fix

extend

npm · All systems

Affected

  • introduced 1.1.3, fixed 2.0.2 (semver)

Fixed versions

2.0.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences