{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-21190","published":"2022-05-13T20:15:08.013000Z","last_modified":"2026-06-17T04:25:42.700000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-1321"],"cpes":[{"criteria":"cpe:2.3:a:mozilla:convict:*:*:*:*:*:node.js:*:*","part":"a","vendor":"mozilla","product":"convict","version_end_excluding":"6.2.3"}],"cpes_truncated":false,"vendors":["mozilla"],"products":["mozilla/convict"],"epss":{"score":0.03645,"percentile":0.90367,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jjf5-wx3j-3fv7","ecosystem":"npm","name":"convict","purl":"pkg:npm/convict","ranges":[{"introduced":"0","fixed":"6.2.3"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-21190/","html_en":"/en/cve/CVE-2022-21190/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21190","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21190"},"untrusted":{"vendor_name":"Mozilla","product_name":"Convict","desc_en":"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":[],"references":[{"url":"https://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3ad9cd880/packages/convict/src/main.js%23L571","tags":["Broken Link","Patch","Third Party Advisory"]},{"url":"https://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07","tags":["Broken Link","Release Notes","Tool Signature"]},{"url":"https://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75","tags":["Patch","Tool Signature"]},{"url":"https://snyk.io/vuln/SNYK-JS-CONVICT-2774757","tags":["Exploit","Third Party Advisory"]}]}}