CVE-2022-22143 Prototype Pollution

High 7.5 Published Updated

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.

PackageAffectedFixed in
convict npmAll versions6.2.3
convict npmAll versions6.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.

Sources

Also known as GHSA-x2w5-725j-gf2g, SNYK-JS-CONVICT-2340604.

Is CVE-2022-22143 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free