What’s Vulnerable › Vulnerabilities
CVE-2022-22143: Prototype Pollution
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-05-01 · updated 2026-06-17
- Weakness: CWE-1321
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)
Affected products
- convict: before 6.2.2 — fixed in 6.2.2
How to fix
Upgrade to a fixed version: convict 6.2.2. Check the vendor advisory for mitigations.
References
- https://github.com/mozilla/node-convict/blob/5eb1314f85346760a3c31cb14510f2f0af11d0d3/packages/convict/src/main.js%23L569
- https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880
- https://snyk.io/vuln/SNYK-JS-CONVICT-2340604
- https://github.com/mozilla/node-convict/blob/5eb1314f85346760a3c31cb14510f2f0af11d0d3/packages/convict/src/main.js%23L569
- https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880
- https://snyk.io/vuln/SNYK-JS-CONVICT-2340604
Get alerted when CVE-2022-22143 or the next vulnerability affects your stack