Critical
Security advisory
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23470
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:40 UTC · Revision 1
Source evidence
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
osv:CVE-2021-23470
Complete source record
{
"id": "49b4f7dc190d553704b111a88f05f0e897853f63740eebd4cf2b9a2532b35079",
"url": "https://osv.dev/vulnerability/CVE-2021-23470",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-23470",
"summary": "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",
"evidence": "osv:CVE-2021-23470",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-23470",
"aliases": [
"CVE-2021-23470",
"GHSA-4g77-cvgw-grvw",
"SNYK-JS-PUTILMERGE-2391487"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/panates/putil-merge",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "476d00078dfb2827d7c9ee0f2392c81b864f7bc5"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "476d00078dfb2827d7c9ee0f2392c81b864f7bc5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23470.json"
}
}
],
"modified": "2026-10-20T10:54:32.543962364Z",
"provider": "osv",
"references": [
"https://github.com/panates/putil-merge/commit/476d00078dfb2827d7c9ee0f2392c81b864f7bc5",
"https://snyk.io/vuln/SNYK-JS-PUTILMERGE-2391487"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:putil-merge_project:putil-merge:*:*:*:*:*:*:*:*"
],
"vendor_product": "putil-merge_project:putil-merge",
"extracted_events": [
{
"range": [
{
"fixed": "3.8.0"
}
],
"source": "CPE_RANGE"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "3.8.0"
}
],
"source": "DESCRIPTION"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-23470",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385524,
"published_at": "2022-02-04T20:15:08.363+00:00"
}