{"id":"CVE-2022-21803","state":"PUBLISHED","title":"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.","publishedAt":"2022-04-12T15:20:12.370Z","updatedAt":"2024-09-16T16:53:18.553Z","severity":{"score":7.3,"label":"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","source":"snyk"},"assigner":"snyk","products":["n/a nconf"],"affected":[{"vendor":"n/a","product":"nconf","versions":[{"version":"unspecified","status":"affected","lessThan":"0.11.4","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-JS-NCONF-2395478","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450","https://github.com/indexzero/nconf/pull/397","https://github.com/indexzero/nconf/releases/tag/v0.11.4"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:35.025Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/21xxx/CVE-2022-21803.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-21803","state":"PUBLISHED","datePublished":"2022-04-12T15:20:12.370Z","dateUpdated":"2024-09-16T16:53:18.553Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-24T00:00:00.000Z"},"containers":{"cna":{"title":"Prototype Pollution","descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"n/a","product":"nconf","versions":[{"version":"unspecified","status":"affected","lessThan":"0.11.4","versionType":"custom"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","exploitCodeMaturity":"PROOF_OF_CONCEPT","integrityImpact":"LOW","privilegesRequired":"NONE","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","scope":"UNCHANGED","temporalScore":6.9,"temporalSeverity":"MEDIUM","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Prototype Pollution","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2022-04-12T15:20:12.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Alessio Della Libera of Snyk Research Team"}],"datePublic":"2022-04-12T00:00:00.000Z","x_legacyV4Record":{"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"}]}},"credit":[{"lang":"eng","value":"Alessio Della Libera of Snyk Research Team"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","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":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Prototype Pollution"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-NCONF-2395478","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-NCONF-2395478"},{"name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450"},{"name":"https://github.com/indexzero/nconf/pull/397","refsource":"MISC","url":"https://github.com/indexzero/nconf/pull/397"},{"name":"https://github.com/indexzero/nconf/releases/tag/v0.11.4","refsource":"MISC","url":"https://github.com/indexzero/nconf/releases/tag/v0.11.4"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-NCONF-2395478","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/indexzero/nconf/pull/397","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/indexzero/nconf/releases/tag/v0.11.4","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T02:53:36.263Z"}}]}}}