{"id":"CVE-2022-21803","summary":"Prototype Pollution","details":"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.","aliases":["GHSA-6xwr-q98w-rvg7"],"modified":"2026-08-12T03:51:33.791713993Z","published":"2022-04-12T15:20:12.370Z","related":["SNYK-JAVA-ORGWEBJARSNPM-2632450","SNYK-JS-NCONF-2395478"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21803.json","cna_assigner":"snyk"},"references":[{"type":"WEB","url":"https://github.com/indexzero/nconf/releases/tag/v0.11.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21803.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21803"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-NCONF-2395478"},{"type":"FIX","url":"https://github.com/indexzero/nconf/pull/397"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/indexzero/nconf","events":[{"introduced":"0"},{"fixed":"f25feb2913fc21a5d80039f6213c2d9ae906ec29"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:nconf_project:nconf:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.11.4"}]}}],"versions":["v0.11.3","v0.11.2","v0.11.1","v0.11.0","v0.10.0","list","0.10.0","v0.9.1","0.9.1","0.9.0","v0.8.5","0.8.5","0.8.4","0.8.3","0.8.2","0.8.1","0.8.0","0.7.2","v0.7.1","0.7.1","v0.7.0","0.7.0","v0.6.9","0.6.9","v0.6.8","0.6.8","v0.6.7","0.6.7","v0.6.6","0.6.6","v0.6.5","0.6.5","v0.6.4","0.6.4","v0.6.3","0.6.3","v0.6.2","0.6.2","v0.6.1","0.6.1","v0.6.0","0.6.0","v0.5.1","0.5.1","v0.5.0","0.5.0","v0.4.6","0.4.6","v0.4.5","0.4.5","v0.4.4","0.4.4","v0.4.3","0.4.3","v0.4.2","0.4.2","v0.4.1","0.4.1","v0.4.0","0.4.0","v0.3.1","0.3.1","v0.3.0","0.3.0","v0.2.0","0.2.0","0.1.14","v0.1.13","0.1.13","v0.1.12","0.1.12","v0.1.11","0.1.11","v0.1.10","0.1.10","v0.1.9","0.1.9","v0.1.8","0.1.8","v0.1.7","0.1.7","v0.1.6","0.1.6","v0.1.5","0.1.5","v0.1.4","0.1.4","v0.1.3","0.1.3","v0.1.2","0.1.2","v0.1.1","0.1.1","v0.1.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21803.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P"}]}