High, CVSS 7.3npmAmendedPublished
Prototype Pollution in nconf
CVE-2022-21803 · GHSA-6xwr-q98w-rvg7
- Affected
- npm nconf < 0.11.4
- Fixed in
- 0.11.4· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.11.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.