CVE-2022-22143
CRITICAL 9.8CVSS 3.1Prototype Pollution in convict
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
- Published
- 1 May 2022
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-x2w5-725j-gf2gSNYK-JS-CONVICT-2340604
- Sources
- NVDJSONOSV GHSA-x2w5-725j-gf2gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mozilla | convictcpe:2.3:a:mozilla:convict:*:*:*:*:*:node.js:*:* |
< 6.2.2 | 6.2.2 |
| OSV | npm | convict | < 6.2.3 | 6.2.3 |
References
- https://github.com/mozilla/node-convict/blob/5eb1314f85346760a3c31cb14510f2f0af11d0d3/packages/convict/src/main.js%23L569 · Broken Link, WEB
- https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-CONVICT-2340604 · Exploit, Patch, Third Party Advisory, WEB
- https://github.com/mozilla/node-convict/security/advisories/GHSA-x2w5-725j-gf2g · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-22143 · ADVISORY
- https://github.com/mozilla/node-convict/pull/384 · WEB
- https://github.com/mozilla/node-convict · WEB
- https://github.com/mozilla/node-convict/releases/tag/v6.2.2 · WEB
- https://www.huntr.dev/bounties/1-npm-convict · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 May 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Apr 2022)