Skip to content

Prototype pollution in Merge-deep

Critical severity GitHub Reviewed Published Jun 7, 2021 to the GitHub Advisory Database • Updated Nov 29, 2023

Package

npm merge-deep (npm)

Affected versions

< 3.0.3

Patched versions

3.0.3

Description

The merge-deep library before 3.0.3 for Node.js can be tricked into overwriting properties of Object.prototype or adding new properties to it. These properties are then inherited by every object in the program, thus facilitating prototype-pollution attacks against applications using this library.

References

Published by the National Vulnerability Database Jun 2, 2021
Reviewed Jun 3, 2021
Published to the GitHub Advisory Database Jun 7, 2021
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-2021-26707

GHSA ID

GHSA-r6rj-9ch6-g264

Source code

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