CVE-2024-21489 uPlot Prototype Pollution vulnerability
Prototype pollution in uPlot allows attackers to manipulate object prototypes, potentially leading to code execution or security bypasses.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-21489?
CVE-2024-21489 is a high-severity vulnerability in org.webjars.npm:uplot, published on 1 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Versions of the package uplot before 1.6.31 are vulnerable to Prototype Pollution via the uplot.assign function due to missing check if the attribute resolves to the object prototype.
Weakness: CWE-1321
Which versions are affected by CVE-2024-21489?
2 open source packages ship an affected version, including uplot.
| Package | Affected | Fixed in |
|---|---|---|
uplot npm | All versions | 1.6.31 |
uplot npm | All versions | 1.6.31 |
Linux distribution packages (6)
grafana Red Hat:rhel_aus:8.4::appstream | All versions | 0:7.3.6-7.el8_4 |
grafana-debuginfo Red Hat:rhel_aus:8.4::appstream | All versions | 0:7.3.6-7.el8_4 |
grafana Red Hat:rhel_e4s:8.4::appstream | All versions | 0:7.3.6-7.el8_4 |
grafana-debuginfo Red Hat:rhel_e4s:8.4::appstream | All versions | 0:7.3.6-7.el8_4 |
grafana Red Hat:rhel_tus:8.4::appstream | All versions | 0:7.3.6-7.el8_4 |
grafana-debuginfo Red Hat:rhel_tus:8.4::appstream | All versions | 0:7.3.6-7.el8_4 |
How do I fix CVE-2024-21489?
Upgrade uplot to 1.6.31 or later.
Is CVE-2024-21489 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21489 exists.
Sources
Also known as GHSA-34q8-jcq6-mc37, RHSA-2024:8083.