# CVE-2021-23568: Prototype Pollution

- Severity: High 7.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.50%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-07T20:05:13.398Z
- Modified: 2026-09-10T03:49:27.701Z
- Also known as: GHSA-gjm5-83cw-p3p2, SNYK-JS-EXTEND2-2320315
- Weaknesses: CWE-1321
- Assigned by: snyk

## Description

The package extend2 before 1.0.1 are vulnerable to Prototype Pollution via the extend function due to unsafe recursive merge.

(As written by CVE List.)

## Affected

- extend2: from unspecified before 1.0.1
- extend2 (npm): before 1.0.1
- eggjs extend2: before 1.0.1

## Every score

- snyk: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-EXTEND2-2320315> (exploit, third-party-advisory, web)
- <https://github.com/eggjs/extend2/blob/master/index.js%23L50-L60> (broken-link, web)
- <https://github.com/eggjs/extend2/commit/aa332a59116c8398976434b57ea477c6823054f8> (patch, third-party-advisory, web)
- <https://github.com/eggjs/extend2/pull/2> (issue-tracking, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23568> (advisory)
- <https://github.com/eggjs/extend2> (package)

## Sources

- CVE List: [CVE-2021-23568](https://www.cve.org/CVERecord?id=CVE-2021-23568), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-gjm5-83cw-p3p2](https://github.com/advisories/GHSA-gjm5-83cw-p3p2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-23568](https://nvd.nist.gov/vuln/detail/CVE-2021-23568), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23568 · Whole record: https://cve.day/CVE-2021-23568.json · Rebuilt by cve.day 2026-11-25T22:58:06.426Z
