This affects the package convict before 6.2.3. This is a bypass of CVE-2022-22143. The fix 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.
{
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21190.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:mozilla:convict:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.2.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "1ea0ab19c5208f66509e1c43b0d0f21c1fd29b75"
}
],
"source": "REFERENCES_COMMIT"
}
]
}