CVE-2022-21190Prototype Pollution
- 7.5HighCVSS base score
- 4.0%Exploitation in 30 daysEPSS · top 9.3% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By snyk
- 3 months later
· 3 months later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 4.0% · top 9.3% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
convict
- affected unspecified – < 6.2.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmconvictGHSA-jjf5-wx3j-3fv7 (opens in a new tab)
References
References5
- https://snyk.io/vuln/SNYK-JS-CONVICT-2774757 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3ad9cd880/packages/convict/src/main.js%23L571 (opens in a new tab)x_refsource_MISCx_transferred
- https://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-4383 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jjf5-wx3j-3fv7 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-21190)Record last updated .