{"id":"CVE-2022-21803","published":"2022-04-12T15:20:12Z","modified":"2024-09-16T16:53:18Z","title":"Prototype Pollution","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0178,"percentile":0.78797,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-NCONF-2395478","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450","tags":["x_refsource_MISC"]},{"url":"https://github.com/indexzero/nconf/pull/397","tags":["x_refsource_MISC"]},{"url":"https://github.com/indexzero/nconf/releases/tag/v0.11.4","tags":["x_refsource_MISC"]}],"priority":{"score":20.9,"factors":[{"name":"EPSS percentile","points":15.76},{"name":"CVSS severity","points":5.11}]},"affectedVersions":[{"vendor":"n/a","product":"nconf","versions":[">= unspecified, < 0.11.4"]}],"affected":[{"ecosystem":"npm","package":"nconf","vulnerableRanges":["<0.11.4"],"patched":["0.11.4"],"from":["GHSA-6xwr-q98w-rvg7"],"provenance":"source"}],"summary":{"text":"The flaw is a prototype pollution vulnerability in the nconf package, affecting versions before 0.11.4, specifically in the .set() function of its memory engine when storing nested JSON configuration. An attacker who can supply a crafted property name to .set() can modify properties on Object.prototype, and this requires only network access with no authentication or user interaction, provided the application uses nconf's memory engine.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:42Z"},"euvd":{"id":"EUVD-2022-1659","exploited":false,"provenance":"source"}}