{"id":"EUVD-2022-4383","enisaUuid":"0b319fb3-7184-3e0d-8f0b-a05594ff8659","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\u0027s possible to prepend the dangerous paths with any string value followed by a dot, like for example foo.__proto__ or foo.this.constructor.prototype.","datePublished":"May 13, 2022, 8:00:38 PM","dateUpdated":"Sep 17, 2024, 3:32:50 AM","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://snyk.io/vuln/SNYK-JS-CONVICT-2774757\nhttps://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3ad9cd880/packages/convict/src/main.js%23L571\nhttps://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808\nhttps://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07\nhttps://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75\n","aliases":"CVE-2022-21190\nGHSA-jjf5-wx3j-3fv7\n","assigner":"snyk","epss":3.97,"enisaIdProduct":[{"id":"eaef12d6-1b8e-3ba7-934f-a1d4758bbdb3","product":{"name":"Convict","vendor":{"name":"Mozilla"}},"product_version":"unspecified \u003c6.2.3"}],"enisaIdVendor":[{"id":"1b15eb97-f6dc-3e91-8ccc-111161f1797d","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"4d28dd5f-7299-3b9a-93bc-405c39fa79df","vulnerability":{"id":"GHSA-jjf5-wx3j-3fv7","description":"Prototype Pollution in convict","datePublished":"May 14, 2022, 12:01:09 AM","dateUpdated":"May 25, 2022, 10:54:49 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2022-21190\nhttps://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75\nhttps://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808\nhttps://github.com/mozilla/node-convict\nhttps://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3ad9cd880/packages/convict/src/main.js%23L571\nhttps://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07\nhttps://snyk.io/vuln/SNYK-JS-CONVICT-2774757\n","enisa_id":"EUVD-2022-4383\n","aliases":"CVE-2022-21190\nGHSA-jjf5-wx3j-3fv7\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:16:19 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"52030e95-c57f-3cee-ab7a-aee06a6ef501","vulnerability":{"id":"CVE-2022-21190","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\u0027s possible to prepend the dangerous paths with any string value followed by a dot, like for example foo.__proto__ or foo.this.constructor.prototype.","datePublished":"May 13, 2022, 8:00:38 PM","dateUpdated":"Sep 17, 2024, 3:32:50 AM","status":"PUBLISHED","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://snyk.io/vuln/SNYK-JS-CONVICT-2774757\nhttps://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3ad9cd880/packages/convict/src/main.js%23L571\nhttps://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808\nhttps://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07\nhttps://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75\n","enisa_id":"EUVD-2022-4383\n","assigner":"snyk","epss":3.97,"dataProcessed":"Nov 23, 2026, 7:18:08 AM","vulnerabilityProduct":[{"id":"2d3b3f5c-c4b4-3cd6-a067-1092b5d18e4d","product":{"name":"Convict","vendor":{"name":"Mozilla"}},"product_version":"unspecified \u003c6.2.3"}],"vulnerabilityVendor":[{"id":"353881c9-bcf9-3540-8b57-3216963b9e13","vendor":{"name":"n/a"}}]}}],"enisaIdAdvisory":[]}