{"api_version":"1","generated_at":"2026-07-23T12:37:26+00:00","cve":"CVE-2022-21803","urls":{"html":"https://cve.report/CVE-2022-21803","api":"https://cve.report/api/cve/CVE-2022-21803.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21803","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21803"},"summary":{"title":"CVE-2022-21803","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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2022-04-12 16:15:00","updated_at":"2022-04-20 14:07:00"},"problem_types":["CWE-1321"],"metrics":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450","name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450","refsource":"MISC","tags":[],"title":"Prototype Pollution in org.webjars.npm:nconf | CVE-2022-21803 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://snyk.io/vuln/SNYK-JS-NCONF-2395478","name":"https://snyk.io/vuln/SNYK-JS-NCONF-2395478","refsource":"MISC","tags":[],"title":"Prototype Pollution in nconf | CVE-2022-21803 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/indexzero/nconf/pull/397","name":"https://github.com/indexzero/nconf/pull/397","refsource":"MISC","tags":[],"title":"fix(security): prevent prototype pollution in memory store by mhamann · Pull Request #397 · indexzero/nconf · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/indexzero/nconf/releases/tag/v0.11.4","name":"https://github.com/indexzero/nconf/releases/tag/v0.11.4","refsource":"MISC","tags":[],"title":"Release v0.11.4 · indexzero/nconf · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21803","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21803","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Alessio Della Libera of Snyk Research Team","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"21803","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nconf_project","cpe5":"nconf","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-04-12T15:19:57.040836Z","ID":"CVE-2022-21803","STATE":"PUBLIC","TITLE":"Prototype Pollution"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"nconf","version":{"version_data":[{"version_affected":"<","version_value":"0.11.4"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Prototype Pollution"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-NCONF-2395478","name":"https://snyk.io/vuln/SNYK-JS-NCONF-2395478"},{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450","name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450"},{"refsource":"MISC","url":"https://github.com/indexzero/nconf/pull/397","name":"https://github.com/indexzero/nconf/pull/397"},{"refsource":"MISC","url":"https://github.com/indexzero/nconf/releases/tag/v0.11.4","name":"https://github.com/indexzero/nconf/releases/tag/v0.11.4"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"}},"credit":[{"lang":"eng","value":"Alessio Della Libera of Snyk Research Team"}]},"nvd":{"publishedDate":"2022-04-12 16:15:00","lastModifiedDate":"2022-04-20 14:07:00","problem_types":["CWE-1321"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nconf_project:nconf:*:*:*:*:*:node.js:*:*","versionEndExcluding":"0.11.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}