Vulnerability · Published Jun 2, 2021 · Assigned by mitre
CVE-2021-26707
Critical 9.8
In plain English
A critical-severity security flaw in the merge-deep package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.9%top 20.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | merge-deep | 3.0.3 | GHSA-r6rj-9ch6-g264 |
Affected products (as reported)
References
- https://www.npmjs.com/package/merge-deep x_refsource_MISC
- https://github.com/jonschlinkert/merge-deep/commit/11e5dd56de8a6aed0b1ed022089dbce6968d82a5 x_refsource_MISC
- https://securitylab.github.com/advisories/GHSL-2020-160-merge-deep/ x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210716-0008/ x_refsource_CONFIRM