CVE-2019-10794 component-flatten vulnerable to Prototype Pollution
Prototype pollution in component-flatten allows attackers to modify Object.prototype, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-10794?
CVE-2019-10794 is a medium-severity vulnerability in Snyk component-flatten, published on 18 Feb 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
All versions of component-flatten are vulnerable to Prototype Pollution. The a function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.
Weakness: CWE-74
Which versions are affected by CVE-2019-10794?
2 open source packages ship an affected version, including component-flatten. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
component-flatten npm | All versions to 1.0.1 | None |
component-flatten npm | All versions to 1.0.1 | None |
Products include Component-Flatten Project Component-Flatten.
How do I fix CVE-2019-10794?
No fix has been published for CVE-2019-10794 yet. Limit exposure of the affected software until one is available.
Is CVE-2019-10794 being exploited?
There is no known exploitation of CVE-2019-10794 in the wild and no public exploit code.
Sources
Also known as GHSA-g6r3-hhg9-qf58.