Advisory

GHSA-4g88-fppr-53pp

Also known as: CVE-2019-10747, SNYK-JS-SETVALUE-450213

Summary

Prototype Pollution in set-value

Details

Versions of set-value prior to 3.0.1 or 2.0.1 are vulnerable to Prototype Pollution. The set function fails to validate which Object properties it updates. This allows attackers to modify the prototype of Object, causing the addition or modification of an existing property on all objects.

Recommendation

If you are using set-value 3.x, upgrade to version 3.0.1 or later.
If you are using set-value 2.x, upgrade to version 2.0.1 or later.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2019-08-27 17:43 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

set-value

npm · All systems

Affected

  • introduced 0, fixed 2.0.1 (semver)

Fixed versions

2.0.1

Fix

set-value

npm · All systems

Affected

  • introduced 3.0.0, fixed 3.0.1 (semver)

Fixed versions

3.0.1

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