# CVE-2022-22143: Prototype Pollution

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 6.2.2 (CNA); fix release not confirmed
- Status: published
- Published: 2022-05-01 · Modified: 2024-09-17
- Aliases: GHSA-x2w5-725j-gf2g, SNYK-JS-CONVICT-2340604
- Record: https://cvemate.com/vulnerability/CVE-2022-22143 · JSON: https://cvemate.com/vulnerability/CVE-2022-22143/json

## Description

```text
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)
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.44%, percentile 84.84%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- mozilla convict: \< 6.2.2
- Npm convict (Npm): \< 6.2.3

## References

- <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://github.com/mozilla/node-convict/security/advisories/GHSA-x2w5-725j-gf2g>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-22143>
- <https://github.com/mozilla/node-convict/pull/384>
- <https://github.com/mozilla/node-convict>
- <https://github.com/mozilla/node-convict/releases/tag/v6.2.2>
- <https://www.huntr.dev/bounties/1-npm-convict>

---

Data as of 2026-12-05T04:23:12.180Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
