CVE-2022-21190 Prototype Pollution
CriticalCVSS 9.8
EPSS 4.0%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mozilla Convict | < 6.2.3 | 6.2.3 | Fixed |
| npm convict(npm) | < 6.2.3 | 6.2.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm convict(npm) | < 6.2.3 | 6.2.3 |
| mozilla Convict | < 6.2.3 | 6.2.3 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch tool-signature
- gist.github.com exploit third-party-advisory
- github.com broken-link patch third-party-advisory
- github.com broken-link release-notes tool-signature
- snyk.io exploit third-party-advisory
- github.com
- github.com product