{"id":"GHSA-6xwr-q98w-rvg7","summary":"Prototype Pollution in nconf","details":"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":["CVE-2022-21803"],"modified":"2024-05-19T02:24:17.311015Z","published":"2022-04-13T00:00:30Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-04-22T20:31:22Z","nvd_published_at":"2022-04-12T16:15:00Z","cwe_ids":["CWE-1321"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21803"},{"type":"WEB","url":"https://github.com/indexzero/nconf/pull/397"},{"type":"PACKAGE","url":"https://github.com/indexzero/nconf"},{"type":"WEB","url":"https://github.com/indexzero/nconf/releases/tag/v0.11.4"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-NCONF-2395478"}],"affected":[{"package":{"name":"nconf","ecosystem":"npm","purl":"pkg:npm/nconf"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.11.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-6xwr-q98w-rvg7/GHSA-6xwr-q98w-rvg7.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"}]}