Skip to content

Prototype Pollution in set-value

Critical severity GitHub Reviewed Published Aug 27, 2019 to the GitHub Advisory Database • Updated Nov 29, 2023

Package

npm set-value (npm)

Affected versions

< 2.0.1
= 3.0.0

Patched versions

2.0.1
3.0.1

Description

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.

References

Reviewed Aug 27, 2019
Published to the GitHub Advisory Database Aug 27, 2019
Last updated Nov 29, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2019-10747

GHSA ID

GHSA-4g88-fppr-53pp

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.