CVE-2022-21190

Severity
9.8CRITICAL
EPSS
0.7%
top 28.73%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMay 13
Latest updateMay 14

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's possible to prepend the dangerous paths with any string

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

NVDmozilla/convict< 6.2.3
CVEListV5convictunspecified6.2.3
npmconvict< 6.2.3

Patches

🔴Vulnerability Details

3
OSV
Prototype Pollution in convict2022-05-14
GHSA
Prototype Pollution in convict2022-05-14
CVEList
Prototype Pollution2022-05-13

📋Vendor Advisories

1
Red Hat
convict: A Prototype Pollution Vulnerbility in convict2022-05-13
CVE-2022-21190 (CRITICAL CVSS 9.8) | This affects the package convict be | cvebase.io