CVE-2022-21190
published 2022-05-13CVE-2022-21190: 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…
PriorityP353critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.80%
88.8th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| mozilla | convict | < 6.2.3 | 6.2.3 |
| mozilla | convict | >= 0 < 6.2.3 | 6.2.3 |
| mozilla | convict | >= unspecified < 6.2.3 | 6.2.3 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
ghsa9.8CRITICAL
osv9.8CRITICAL
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Prototype Pollution in convict
osv·2022-05-14·CVSS 9.8
CVE-2022-21190 [CRITICAL] Prototype Pollution in convict
Prototype Pollution in convict
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.
GHSA
Prototype Pollution in convict
ghsa·2022-05-14·CVSS 9.8
CVE-2022-21190 [CRITICAL] CWE-1321 Prototype Pollution in convict
Prototype Pollution in convict
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.
Red Hat
convict: A Prototype Pollution Vulnerbility in convict
vendor_redhat·2022-05-13·CVSS 7.5
CVE-2022-21190 [HIGH] CWE-1321 convict: A Prototype Pollution Vulnerbility in convict
convict: A Prototype Pollution Vulnerbility in convict
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.
Package: advanced-cluster-security/rhacs-docs-rhel8 (Red Hat Advanced Cluster Security 3) - Not affected
Package: advanced-cluster-security/rhacs-main
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808https://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3ad9cd880/packages/convict/src/main.js%23L571https://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07https://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75https://snyk.io/vuln/SNYK-JS-CONVICT-2774757https://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808https://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3ad9cd880/packages/convict/src/main.js%23L571https://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07https://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75https://snyk.io/vuln/SNYK-JS-CONVICT-2774757
2022-05-13
Published