Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nconf Project | Nconf | < 0.11.4 |
Related Weaknesses (CWE)
References
- https://github.com/indexzero/nconf/pull/397Issue TrackingPatchThird Party Advisory
- https://github.com/indexzero/nconf/releases/tag/v0.11.4Release NotesThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-NCONF-2395478ExploitThird Party Advisory
- https://github.com/indexzero/nconf/pull/397Issue TrackingPatchThird Party Advisory
- https://github.com/indexzero/nconf/releases/tag/v0.11.4Release NotesThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-NCONF-2395478ExploitThird Party Advisory
FAQ
What is CVE-2022-21803?
CVE-2022-21803 is a vulnerability with a CVSS score of 7.3 (HIGH). 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 sett...
How severe is CVE-2022-21803?
CVE-2022-21803 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-21803?
Check the references section above for vendor advisories and patch information. Affected products include: Nconf Project Nconf.