{"id":"CVE-2022-22143","summary":"Prototype Pollution","details":"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)","aliases":["GHSA-x2w5-725j-gf2g","SNYK-JS-CONVICT-2340604"],"modified":"2026-08-12T03:51:27.479789353Z","published":"2022-05-01T15:30:45.287Z","database_specific":{"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22143.json"},"references":[{"type":"WEB","url":"https://github.com/mozilla/node-convict/blob/5eb1314f85346760a3c31cb14510f2f0af11d0d3/packages/convict/src/main.js%23L569"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22143.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22143"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-CONVICT-2340604"},{"type":"FIX","url":"https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mozilla/node-convict","events":[{"introduced":"0"},{"fixed":"4da12f88f77a3a4c1d61fee3bc5d16194892802d"},{"fixed":"3b86be087d8f14681a9c889d45da7fe3ad9cd880"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"6.2.2"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:mozilla:convict:*:*:*:*:*:node.js:*:*"}}],"versions":["v6.2.1","v6.2.0","v5.2.0","v6.1.0","v6.0.1","v6.0.0","v5.1.0","v5.0.2","v5.0.1","v5.0.0","v4.4.1","v4.4.0","v4.3.2","v4.3.1","v4.3.0","v4.2.0","v4.1.0","v4.0.2","v4.0.1","v4.0.0","v3.0.0","v2.0.0","v1.4.0","v1.3.0","v1.2.0","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v0.5.1","v0.5.0","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.3","v0.3.1","v0.3.0","v0.2.3","v0.2.2","v0.2.1","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-22143.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:N/I:N/A:H"}]}