{"schemaVersion":4,"id":"CVE-2022-22143","aliases":["GHSA-x2w5-725j-gf2g","SNYK-JS-CONVICT-2340604"],"status":"published","duplicateOf":null,"title":"Prototype Pollution","description":"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)","dates":{"published":"2022-05-01T15:30:45.287Z","modified":"2024-09-17T02:02:16.928Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":6.4,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0244,"percentile":0.8484,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.2610000000000001,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.02179},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02145,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02145,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02145,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02145,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02145,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02145,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0244,"percentile":0.8484}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.02179,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0244,"percentile":0.8484}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_BB4E301C7029304A","name":"Exploit Reference (snyk.io)","source":"reference","url":"https://snyk.io/vuln/SNYK-JS-CONVICT-2340604","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes","description":"The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1321.html"}],"affected":[{"vendor":"mozilla","product":"convict","name":"convict","label":"convict","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.2.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.2.2","endInclusive":false}}],"versionsText":"< 6.2.2","eol":null,"hubHref":"/vendor/mozilla/convict"},{"vendor":"Npm","product":"convict","name":"convict","label":"convict","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/convict","purlType":"npm","versions":[{"text":"< 6.2.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.2.3","endInclusive":false}}],"versionsText":"< 6.2.3","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CONVICT-2340604","label":"snyk.io/vuln/SNYK-JS-CONVICT-2340604","hostname":"snyk.io","tags":["X Refsource MISC","WEB","Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/mozilla/node-convict/blob/5eb1314f85346760a3c31cb14510f2f0af11d0d3/packages/convict/src/main.js%23L569","label":"github.com/mozilla/…","hostname":"github.com","tags":["X Refsource MISC","WEB","Broken Link"]},{"url":"https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880","label":"github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/mozilla/node-convict/security/advisories/GHSA-x2w5-725j-gf2g","label":"github.com/mozilla/node-convict/security/advisories/GHSA-x2w5-725j-gf2g","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22143","label":"nvd.nist.gov/vuln/detail/CVE-2022-22143","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mozilla/node-convict/pull/384","label":"github.com/mozilla/node-convict/pull/384","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/mozilla/node-convict","label":"github.com/mozilla/node-convict","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/mozilla/node-convict/releases/tag/v6.2.2","label":"github.com/mozilla/node-convict/releases/tag/v6.2.2","hostname":"github.com","tags":["WEB"]},{"url":"https://www.huntr.dev/bounties/1-npm-convict","label":"www.huntr.dev/bounties/1-npm-convict","hostname":"www.huntr.dev","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-05-01T15:30:45.287Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T02:02:16.928Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (reference, Date unknown)","nextStep":"Check applicability: affected before 6.2.2 (CNA); fix release not confirmed","rank":[0,0,0,1,2,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0244,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-09-17T02:02:16.928Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_npm","date":"2024-09-17T02:02:16.928Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-17T02:02:16.928Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-17T02:02:16.928Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},{"type":"exploit","source":"reference","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"unknown","verified":false}],"epss":{"value":0.0244,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:15:43.958Z","stale":false,"partial":false}}