CVE-2022-22143 Prototype Pollution
Prototype pollution in the convict library allows attackers to manipulate object prototypes, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-22143?
CVE-2022-22143 is a high-severity vulnerability in convict, published on 1 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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)
Weakness: CWE-1321
Which versions are affected by CVE-2022-22143?
2 open source packages ship an affected version, including convict. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
convict npm | All versions | 6.2.3 |
convict npm | All versions | 6.2.3 |
Products include Mozilla Convict.
How do I fix CVE-2022-22143?
Upgrade convict to 6.2.3 or later.
Is CVE-2022-22143 being exploited?
There is no known exploitation of CVE-2022-22143 in the wild and no public exploit code.
Other vulnerabilities in convict
Sources
Also known as GHSA-x2w5-725j-gf2g, SNYK-JS-CONVICT-2340604.