{"id":"CVE-2022-21190","aliases":["GHSA-jjf5-wx3j-3fv7","SNYK-JS-CONVICT-2774757"],"summary":"Prototype Pollution","published_at":"2022-05-13T00:00:00Z","modified_at":"2026-07-08T06:50:01.831796Z","products":[],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.039739999920129776,"percentile":0.9069899916648865,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"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_stack":[],"affected_other":[{"ecosystem":"NVD","package":"mozilla:convict","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.3"}]}],"fixed":["6.2.3"],"provider":"nvd","source":"CVE-2022-21190","relation":"self"},{"ecosystem":"npm","package":"convict","purl":"pkg:npm/convict","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.2.3"}]}],"fixed":["6.2.3"],"provider":"osv","source":"GHSA-jjf5-wx3j-3fv7","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"not_affected","packages":["advanced-cluster-security/rhacs-docs-rhel8","advanced-cluster-security/rhacs-main-rhel8","advanced-cluster-security/rhacs-rhel8-operator","advanced-cluster-security/rhacs-roxctl-rhel8"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-21190"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2022-21190","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-21190","license":"CC-BY-4.0","published_at":"2022-05-13T20:00:38.749Z","modified_at":"2024-09-17T03:32:50.471Z","summary":"Prototype Pollution","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2022-21190"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-CONVICT-2774757"},{"type":"WEB","url":"https://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3ad9cd880/packages/convict/src/main.js%23L571"},{"type":"WEB","url":"https://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808"},{"type":"WEB","url":"https://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07"},{"type":"WEB","url":"https://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75"}]},{"provider":"nvd","source_id":"CVE-2022-21190","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21190","severity":[],"affected":[{"ecosystem":"NVD","package":"mozilla:convict","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.3"}]}],"fixed":["6.2.3"],"provider":"nvd","source":"CVE-2022-21190","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-jjf5-wx3j-3fv7","relation":"self","url":"https://osv.dev/vulnerability/GHSA-jjf5-wx3j-3fv7","license":"CC-BY-4.0","published_at":"2022-05-14T00:01:09Z","modified_at":"2026-07-08T06:50:01.831796Z","summary":"Prototype Pollution in convict","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-jjf5-wx3j-3fv7"}],"affected":[{"ecosystem":"npm","package":"convict","purl":"pkg:npm/convict","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.2.3"}]}],"fixed":["6.2.3"],"provider":"osv","source":"GHSA-jjf5-wx3j-3fv7","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21190"},{"type":"WEB","url":"https://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75"},{"type":"WEB","url":"https://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808"},{"type":"PACKAGE","url":"https://github.com/mozilla/node-convict"},{"type":"WEB","url":"https://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3ad9cd880/packages/convict/src/main.js%23L571"},{"type":"WEB","url":"https://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-CONVICT-2774757"}]},{"provider":"redhat-vex","source_id":"CVE-2022-21190","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2022-21190","license":"CC-BY-4.0","published_at":"2022-05-13T00:00:00Z","modified_at":"2022-10-03T14:28:18Z","summary":"convict: A Prototype Pollution Vulnerbility in convict","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2022-21190"},{"type":"Red Hat","score":"Moderate","source":"CVE-2022-21190"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"not_affected","packages":["advanced-cluster-security/rhacs-docs-rhel8","advanced-cluster-security/rhacs-main-rhel8","advanced-cluster-security/rhacs-rhel8-operator","advanced-cluster-security/rhacs-roxctl-rhel8"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-21190"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-21190.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-21190"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2086396"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-21190"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21190"}]}],"references":[{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-CONVICT-2774757"},{"type":"WEB","url":"https://github.com/mozilla/node-convict/blob/3b86be087d8f14681a9c889d45da7fe3ad9cd880/packages/convict/src/main.js%23L571"},{"type":"WEB","url":"https://gist.github.com/dellalibera/cebce20e51410acebff1f46afdc89808"},{"type":"WEB","url":"https://github.com/mozilla/node-convict/blob/master/CHANGELOG.md%23623---2022-05-07"},{"type":"WEB","url":"https://github.com/mozilla/node-convict/commit/1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21190"},{"type":"PACKAGE","url":"https://github.com/mozilla/node-convict"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-21190.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-21190"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2086396"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-21190"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2022-21190","url":"https://www.cve.org/CVERecord?id=CVE-2022-21190","license":"CC-BY-4.0","modified_at":"2024-09-17T03:32:50.471Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-21190","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21190","relation":"self"},{"provider":"osv","source_id":"GHSA-jjf5-wx3j-3fv7","url":"https://osv.dev/vulnerability/GHSA-jjf5-wx3j-3fv7","license":"CC-BY-4.0","modified_at":"2026-07-08T06:50:01.831796Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2022-21190","url":"https://access.redhat.com/security/cve/CVE-2022-21190","license":"CC-BY-4.0","modified_at":"2022-10-03T14:28:18Z","relation":"self"}]}
