CVE-2020-7638 confinit vulnerable to prototype pollution
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.
| Package | Affected | Fixed in |
|---|---|---|
confinit npm | All versions | 0.4.0 |
confinit npm | All versions | 0.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.