{"id":"CVE-2021-23568","aliases":["CVE-2021-23568","GHSA-gjm5-83cw-p3p2","SNYK-JS-EXTEND2-2320315"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution","summary":"The package extend2 before 1.0.1 are vulnerable to Prototype Pollution via the extend function due to unsafe recursive merge.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The package extend2 before 1.0.1 are vulnerable to Prototype Pollution via the extend function due to unsafe recursive merge.","source":"cvelist"},{"lang":"es","text":"El paquete extend2 versiones anteriores a 1.0.1, es vulnerable a una Contaminación de Prototipos por medio de la función extend debido a una fusión recursiva no segura","source":"nvd"}],"published":"2022-01-07T20:05:13.398Z","modified":"2026-09-10T03:49:27.701Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.0.1","status":"affected"}],"product":"extend2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.1"}],"ecosystem":"npm","package":"extend2","purl":"pkg:npm/extend2","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.1"}],"vendor":"eggjs","product":"extend2","cpe":"cpe:2.3:a:eggjs:extend2:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-EXTEND2-2320315","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eggjs/extend2/blob/master/index.js%23L50-L60","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eggjs/extend2/commit/aa332a59116c8398976434b57ea477c6823054f8","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eggjs/extend2/pull/2","tags":["issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23568","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/eggjs/extend2","tags":["package"],"sources":["ghsa"]}],"credits":["Bob \"Wombat\" Hogg"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23568","url":"https://www.cve.org/CVERecord?id=CVE-2021-23568","licence":"CVE Terms of Use","modified":"2024-09-16T17:54:22.698Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gjm5-83cw-p3p2","url":"https://github.com/advisories/GHSA-gjm5-83cw-p3p2","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:27.701Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23568","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23568","licence":"Public domain","modified":"2026-06-17T03:38:50.067Z"}],"updatedAt":"2026-11-25T22:58:06.426Z","epss":{"score":0.01498,"percentile":0.7498,"date":"2026-12-01T12:00:22.000Z"}}