# CVE-2022-21803: 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.78%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-04-12T15:20:12.370Z
- Modified: 2026-06-17T04:27:00.927Z
- Also known as: GHSA-6xwr-q98w-rvg7
- Weaknesses: CWE-1321
- Assigned by: snyk

## Description

This affects the package nconf before 0.11.4. When using the memory engine, it is possible to store a nested JSON representation of the configuration. The .set() function, that is responsible for setting the configuration properties, is vulnerable to Prototype Pollution. By providing a crafted property, it is possible to modify the properties on the Object.prototype.

(As written by CVE List.)

## Affected

- nconf: from unspecified before 0.11.4
- nconf (npm): before 0.11.4
- nconf_project nconf: before 0.11.4

## 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 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-JS-NCONF-2395478> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450> (exploit, third-party-advisory)
- <https://github.com/indexzero/nconf/pull/397> (issue-tracking, patch, third-party-advisory, web)
- <https://github.com/indexzero/nconf/releases/tag/v0.11.4> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21803> (advisory)
- <https://github.com/indexzero/nconf> (package)

## Sources

- CVE List: [CVE-2022-21803](https://www.cve.org/CVERecord?id=CVE-2022-21803), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-6xwr-q98w-rvg7](https://github.com/advisories/GHSA-6xwr-q98w-rvg7), CC-BY-4.0, modified 2024-05-19
- NVD: [CVE-2022-21803](https://nvd.nist.gov/vuln/detail/CVE-2022-21803), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-21803 · Whole record: https://cve.day/CVE-2022-21803.json · Rebuilt by cve.day 2026-11-25T22:58:10.569Z
