CVE-2024-21489
uPlot Prototype Pollution vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
8.8
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.
- Record
CVE-2024-21489- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:P - CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P - Weakness
- CWE-1321
- Updated
- 2026-11-02
EUVDEUVD-2024-2911
8.8
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.
- Record
EUVD-2024-2911- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:P - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-34q8-jcq6-mc37
8.8
uPlot Prototype Pollution vulnerability
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.
- Record
GHSA-34q8-jcq6-mc37- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N - CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L - Weakness
- CWE-1321
- Updated
- 2026-11-02
NVD
7.8
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.
- Record
CVE-2024-21489- CVSS 4.0
- 7.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L - Weakness
- CWE-1321
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2024-21489- CVSS 4.0
- 7.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:P - Weakness
- CWE-1321
- Updated
- 2026-11-02
OSVGHSA-34q8-jcq6-mc37
8.8
uPlot Prototype Pollution vulnerability
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.
- Record
GHSA-34q8-jcq6-mc37- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N - CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L - Weakness
- CWE-1321
- Updated
- 2026-11-02
OSVRHSA-2024:8083
8.2
Red Hat Security Advisory: grafana security update
- Record
RHSA-2024:8083- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
uplotnpm |
before 1.6.31 | 1.6.31 |
grafanaRed Hat:rhel_aus:8.4::appstream |
before 0:7.3.6-7.el8_4 | 0:7.3.6-7.el8_4 |
grafana-debuginfoRed Hat:rhel_aus:8.4::appstream |
before 0:7.3.6-7.el8_4 | 0:7.3.6-7.el8_4 |
grafanaRed Hat:rhel_e4s:8.4::appstream |
before 0:7.3.6-7.el8_4 | 0:7.3.6-7.el8_4 |
grafana-debuginfoRed Hat:rhel_e4s:8.4::appstream |
before 0:7.3.6-7.el8_4 | 0:7.3.6-7.el8_4 |
grafanaRed Hat:rhel_tus:8.4::appstream |
before 0:7.3.6-7.el8_4 | 0:7.3.6-7.el8_4 |
grafana-debuginfoRed Hat:rhel_tus:8.4::appstream |
before 0:7.3.6-7.el8_4 | 0:7.3.6-7.el8_4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-21489 is a high vulnerability (CVSS 8.8) in Leeoniya Uplot, published October 1, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.71%, the 53rd percentile. Fixed in uplot 1.6.31.
References
security.snyk.io/vuln/SNYK-JS-UPLOT-6209224
security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8163085
github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js%23L437-L452
github.com/leeoniya/uPlot/commit/5756e3e9b91270b303157e14bd0174311047d983
nvd.nist.gov/vuln/detail/CVE-2024-21489
github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js
Show 9 moreShow less
github.com/advisories/GHSA-34q8-jcq6-mc37
github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21489.json
github.com/leeoniya/uPlot
access.redhat.com/errata/RHSA-2024:8083
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2315838
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_8083.json
access.redhat.com/security/cve/CVE-2024-21489
cve.org/CVERecord?id=CVE-2024-21489