CVE-2020-7638 confinit vulnerable to prototype pollution

Medium 5.3 Published Updated

Prototype pollution in confinit allows attackers to modify Object.prototype, 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-2020-7638?

CVE-2020-7638 is a medium-severity vulnerability in confinit, published on 6 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

confinit through 0.3.0 is vulnerable to Prototype Pollution.The 'setDeepProperty' function could be tricked into adding or modifying properties of 'Object.prototype' using a '__proto__' payload.

Weakness: CWE-1321

Which versions are affected by CVE-2020-7638?

2 open source packages ship an affected version, including confinit. It affects 1 product.

PackageAffectedFixed in
confinit npmAll versions0.4.0
confinit npmAll versions0.4.0

Products include Confinit Project Confinit.

How do I fix CVE-2020-7638?

Upgrade confinit to 0.4.0 or later.

Is CVE-2020-7638 being exploited?

There is no known exploitation of CVE-2020-7638 in the wild and no public exploit code.

Sources

Also known as GHSA-jgpq-g82g-6c39, SNYK-JS-CONFINIT-564433.

Is CVE-2020-7638 in your software?

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

Check your SBOMs for free