Description
The package convict before 6.2.2 are vulnerable to Prototype Pollution via the convict function due to missing validation of parentKey. **Note:** This vulnerability derives from an incomplete fix of another [vulnerability](https://security.snyk.io/vuln/SNYK-JS-CONVICT-1062508)
Remediation
References
https://github.com/mozilla/node-convict/blob/5eb1314f85346760a3c31cb14510f2f0af11d0d3/packages/convict/src/main.js%23L569
https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880
https://snyk.io/vuln/SNYK-JS-CONVICT-2340604
Related Vulnerabilities
CVE-2021-43788 Vulnerability in npm package nodebb
CVE-2023-42795 Vulnerability in maven package org.apache.tomcat:tomcat
CVE-2021-31805 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2018-25083 Vulnerability in npm package pullit
CVE-2020-6422 Vulnerability in maven package org.webjars.npm:electron