GHSA-6fh5-8wq8-w3wr Prototype Pollution in unflatten
Attackers can pollute object prototypes in the unflatten library, 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
- None listed
What is GHSA-6fh5-8wq8-w3wr?
GHSA-6fh5-8wq8-w3wr is a vulnerability in unflatten, published on 4 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of unflatten are vulnerable to prototype pollution. The function unflatten does not restrict the modification of an Object's prototype, which may allow an attacker to add or modify an existing property that will exist on all objects.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Which versions are affected by GHSA-6fh5-8wq8-w3wr?
2 open source packages ship an affected version, including unflatten.
| Package | Affected | Fixed in |
|---|---|---|
unflatten npm | From 0.0.0 | None |
unflatten npm | From 0.0.0 | None |
How do I fix GHSA-6fh5-8wq8-w3wr?
No fix has been published for GHSA-6fh5-8wq8-w3wr yet. Limit exposure of the affected software until one is available.
Is GHSA-6fh5-8wq8-w3wr being exploited?
There is no known exploitation of GHSA-6fh5-8wq8-w3wr in the wild and no public exploit code.