{"id":"CVE-2022-22143","published":"2022-05-01T15:30:45Z","modified":"2024-09-17T02:02:16Z","title":"Prototype Pollution","vendor":null,"product":null,"tier":"tail","description":{"text":"The package convict before 6.2.2 are vulnerable to Prototype Pollution via the convict function due to missing validation of parentKey. **Note:** This vulnerability derives from an incomplete fix of another [vulnerability](https://security.snyk.io/vuln/SNYK-JS-CONVICT-1062508)","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02179,"percentile":0.82786,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CONVICT-2340604","tags":["x_refsource_MISC"]},{"url":"https://github.com/mozilla/node-convict/blob/5eb1314f85346760a3c31cb14510f2f0af11d0d3/packages/convict/src/main.js%23L569","tags":["x_refsource_MISC"]},{"url":"https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880","tags":["x_refsource_MISC"]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":16.56},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"convict","versions":[">= unspecified, < 6.2.2"]}],"affected":[{"ecosystem":"npm","package":"convict","vulnerableRanges":["<6.2.3"],"patched":["6.2.3"],"from":["GHSA-x2w5-725j-gf2g"],"provenance":"source"}],"summary":{"text":"The convict npm package before 6.2.2 contains a Prototype Pollution flaw in its convict function, caused by missing validation of the parentKey parameter. An attacker who can supply a crafted parentKey value over the network, without authentication or user interaction, can pollute object prototypes and cause a denial of service, with no confidentiality or integrity impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:59:10Z"},"euvd":{"id":"EUVD-2022-1861","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mozilla-convict-cve-2022-22143","children":[{"from":"CVE-2022-22143","to":"CVE-2022-21190","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"This is a bypass of CVE-2022-22143.","from":"CVE.org","in":"CVE-2022-21190"},{"kind":"same-code","provenance":"machine","files":["packages/convict/src/main.js"],"commits":["https://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75","https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880"],"basis":"shared function","functions":["convict"]},{"kind":"similar","provenance":"machine","score":0.55,"basis":"same package + description similarity"}]},{"from":"CVE-2022-22143","to":"CVE-2023-0163","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/convict/src/main.js"],"commits":["https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880","https://github.com/mozilla/node-convict/commit/fb602fbe1e9f14f2e88ecb8179d0f76466d21ecb"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same package + description similarity"}]}]}}