What’s Vulnerable › Vulnerabilities

CVE-2022-21803: Prototype Pollution

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

How to fix

Upgrade to a fixed version: nconf 0.11.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-21803 or the next vulnerability affects your stack