Home / convict / convict / CVE-2022-21190
CVE-2022-21190: is it exploited, and which versions of convict are affected and fixed?
CVE-2022-21190 is a prototype pollution vulnerability in convict. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: convict before 6.2.3 (GitHub advisory GHSA-jjf5-wx3j-3fv7). Fixed in 6.2.3 (GitHub advisory GHSA-jjf5-wx3j-3fv7). Severity: High (7.5, CVSS 3.1, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 28, 2026, 19:50 UTC and NVD November 19, 2026, 07:48 UTC.
What is CVE-2022-21190?
Prototype Pollution
This affects the package convict before 6.2.3. This is a bypass of [CVE-2022-22143](https://security.snyk.io/vuln/SNYK-JS-CONVICT-2340604). The [fix](https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880) introduced, relies on the startsWith method and does not prevent the vulnerability: before splitting the path, it checks if it starts with __proto__ or this.constructor.prototype. To bypass this check it's possible to prepend the dangerous paths with any string value followed by a dot, like for example foo.__proto__ or foo.this.constructor.prototype.
From the CVE record by snyk, last updated September 17, 2024, 03:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| convict | before 6.2.3 | 6.2.3 |
As the CVE record by snyk states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | convict | < 6.2.3 | 6.2.3 | GHSA-jjf5-wx3j-3fv7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 25, 2022. Summary: Prototype Pollution in convict.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mozilla | convict | before 6.2.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:25 UTC.
How severe is CVE-2022-21190?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | snyk |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-21190 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.97% probability of exploitation activity in the next 30 days, percentile 90.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
Where are the vendor advisories and references?
- https://snyk.io/vuln/SNYK-JS-CONVICT-2774757 x_refsource_MISC
- https://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3ad9cd880/packages/convict/src/main.js%23L571 x_refsource_MISC
- https://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808 x_refsource_MISC
- https://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07 x_refsource_MISC
- https://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75 x_refsource_MISC
Who found and reported it?
- Alessio Della Libera of Snyk Security Team (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- February 24, 2022
- Published
- May 13, 2022, 20:00 UTC
- CVE record updated
- September 17, 2024, 03:32 UTC by snyk
- NVD
- Modified, last modified June 17, 2026, 04:25 UTC
- Last checked
- CVE list November 28, 2026, 19:50 UTC; NVD November 19, 2026, 07:48 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect convict?
- May 1, 2022CVE-2022-22143 convict: prototype pollution
Questions about CVE-2022-21190
Is CVE-2022-21190 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 3.97% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of convict are affected by CVE-2022-21190?
convict before 6.2.3, per the GitHub advisory GHSA-jjf5-wx3j-3fv7. The tables above give every range the sources list.
Which version fixes CVE-2022-21190?
6.2.3, per the GitHub advisory GHSA-jjf5-wx3j-3fv7. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-21190?
High (7.5, CVSS 3.1, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2022-21190?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.