CVE-2021-23470
CRITICAL 9.8CVSS 3.1Prototype Pollution in putil-merge
This affects the package putil-merge before 3.8.0. The merge() function does not check the values passed into the argument. An attacker can supply a malicious value by adjusting the value to include the constructor property. Note: This vulnerability derives from an incomplete fix in https://security.snyk.io/vuln/SNYK-JS-PUTILMERGE-1317077
- Published
- 4 Feb 2022
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-4g77-cvgw-grvwSNYK-JS-PUTILMERGE-2391487
- Sources
- NVDJSONOSV GHSA-4g77-cvgw-grvwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | putil-merge_project | putil-mergecpe:2.3:a:putil-merge_project:putil-merge:*:*:*:*:*:*:*:* |
< 3.8.0 | 3.8.0 |
| OSV | npm | putil-merge | < 3.8.0 | 3.8.0 |
References
- https://github.com/panates/putil-merge/commit/476d00078dfb2827d7c9ee0f2392c81b864f7bc5 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-PUTILMERGE-2391487 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23470 · ADVISORY
- https://github.com/panates/putil-merge · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 4 Feb 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Feb 2022)