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.
Remediation
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
Related Vulnerabilities
CVE-2022-31069 Vulnerability in npm package @finastra/nestjs-proxy
CVE-2022-29252 Vulnerability in maven package org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki
CVE-2023-24807 Vulnerability in maven package org.webjars.npm:undici
CVE-2022-36033 Vulnerability in maven package org.jsoup:jsoup
CVE-2022-29172 Vulnerability in maven package org.webjars.npm:auth0-lock