GHSA-g7h8-p22m-2rvx Prototype Pollution in flat-wrap
Attackers can pollute object prototypes via the unflatten function, potentially leading to code execution or privilege escalation in applications using this library.
- 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-g7h8-p22m-2rvx?
GHSA-g7h8-p22m-2rvx is a vulnerability in flat-wrap, 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 flat-wrap 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-g7h8-p22m-2rvx?
2 open source packages ship an affected version, including flat-wrap.
| Package | Affected | Fixed in |
|---|---|---|
flat-wrap npm | From 0.0.0 | None |
flat-wrap npm | From 0.0.0 | None |
How do I fix GHSA-g7h8-p22m-2rvx?
No fix has been published for GHSA-g7h8-p22m-2rvx yet. Limit exposure of the affected software until one is available.
Is GHSA-g7h8-p22m-2rvx being exploited?
There is no known exploitation of GHSA-g7h8-p22m-2rvx in the wild and no public exploit code.