CVE-2021-23452 Prototype Pollution
Prototype pollution in the x-assign npm package allows attackers to modify global objects, 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 CVE-2021-23452?
CVE-2021-23452 is a high-severity vulnerability in x-assign, published on 20 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects all versions of package x-assign. The global proto object can be polluted using the __proto__ object.
Weakness: CWE-1321
Which versions are affected by CVE-2021-23452?
2 open source packages ship an affected version, including x-assign. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
x-assign npm | All versions to 0.1.4 | None |
x-assign npm | All versions to 0.1.4 | None |
Products include Binaryops X-Assign.
How do I fix CVE-2021-23452?
No fix has been published for CVE-2021-23452 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-23452 being exploited?
There is no known exploitation of CVE-2021-23452 in the wild and no public exploit code.
Sources
Also known as GHSA-4mvj-rq4v-2fxw.