CVE-2022-22143 json
Prototype Pollution
published 2022-04-20 4 y ago modified 2026-09-10 1 mo ago also GHSA-x2w5-725j-gf2g , EUVD-2022-1861
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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)
Patch / fix
- npm convict 6.2.3
- n/a convict 6.2.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-22143 updated cvss 9.8
convict: Prototype Pollution in convict
-
Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-docs-rhel8, advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-rhel8-operatornot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.18% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-CONVICT-2340604 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | convict | <6.2.3 |
6.2.3 |
Affected products
- n/a convict
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-CONVICT-2340604
web, exploit, patch, third-party-advisory
-
github.com
/mozilla/node-convict/pull/384
web
-
github.com
/mozilla/node-convict/blob/5eb1314f85346760a3c31cb14510f2f0af11d0d3/packages/convict/src/main.js%23L569
web, broken-link
-
github.com
/mozilla/node-convict/security/advisories/GHSA-x2w5-725j-gf2g
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-22143
advisory
-
github.com
/mozilla/node-convict
web
-
github.com
/mozilla/node-convict/releases/tag/v6.2.2
web
-
huntr.dev
/bounties/1-npm-convict
web
Sources
- CVE List CVE-2022-22143
- GitHub Advisory GHSA-x2w5-725j-gf2g
- NVD CVE-2022-22143
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.