What’s Vulnerable › Vulnerabilities
CVE-2022-21803: Prototype Pollution
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-04-12 · updated 2026-06-17
- Weakness: CWE-1321
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.
Affected products
- nconf: before 0.11.4 — fixed in 0.11.4
How to fix
Upgrade to a fixed version: nconf 0.11.4. Check the vendor advisory for mitigations.
References
- https://github.com/indexzero/nconf/pull/397
- https://github.com/indexzero/nconf/releases/tag/v0.11.4
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450
- https://snyk.io/vuln/SNYK-JS-NCONF-2395478
- https://github.com/indexzero/nconf/pull/397
- https://github.com/indexzero/nconf/releases/tag/v0.11.4
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450
- https://snyk.io/vuln/SNYK-JS-NCONF-2395478
Get alerted when CVE-2022-21803 or the next vulnerability affects your stack