{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-22143","id":"CVE-2022-22143","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)","descriptionLong":"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)","published":"2022-05-01T15:30:45.287Z","updated":"2026-10-28T02:30:52.317371420Z","reserved":"2022-02-24T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"snyk"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"snyk"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"snyk.io"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"high","products":["convict"],"affectedProducts":[{"vendor":"n/a","product":"convict","defaultStatus":null,"versions":[{"lessThan":"6.2.2","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"convict","purl":"pkg:npm/convict","ranges":["<6.2.3"],"fixed":["6.2.3"],"advisory":"GHSA-x2w5-725j-gf2g"}],"cwes":["CWE-1321"],"aliases":["GHSA-x2w5-725j-gf2g","SNYK-JS-CONVICT-2340604"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CONVICT-2340604","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/mozilla/node-convict/blob/5eb1314f85346760a3c31cb14510f2f0af11d0d3/packages/convict/src/main.js%23L569","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22143.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22143","tags":["advisory"]},{"url":"https://github.com/mozilla/node-convict/security/advisories/GHSA-x2w5-725j-gf2g","tags":["web"]},{"url":"https://github.com/mozilla/node-convict/pull/384","tags":["web"]},{"url":"https://github.com/mozilla/node-convict","tags":["web"]},{"url":"https://github.com/mozilla/node-convict/releases/tag/v6.2.2","tags":["web"]},{"url":"https://www.huntr.dev/bounties/1-npm-convict","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02179,"epssPercentile":0.82734,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-22143","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22143","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-22143","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x2w5-725j-gf2g","ok":true,"note":"GHSA-x2w5-725j-gf2g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-22143","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}