CVE-2024-21489 json
uPlot Prototype Pollution vulnerability
published 2024-10-01 2 y ago modified 2026-08-16 2 mo ago also GHSA-34q8-jcq6-mc37 , EUVD-2024-2911
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm uplot 1.6.31
- n/a uplot 1.6.31
- leeoniya uplot 1.6.31
- grafana RHEL 8.4 TUS, RHEL 8.4 E4S, RHEL 8.4 AUS 7.3.6-7.el8_4
red hat advisories RHSA-2024:8083
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-21489 updated cvss 8.2
uplot: Prototype Pollution in uplot
-
Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 moreaffected: workaround, no fix available
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) grafana 7.3.6-7.el8_4 Red Hat Enterprise Linux AppStream E4S (v.8.4) grafana 7.3.6-7.el8_4 Red Hat Enterprise Linux AppStream TUS (v.8.4) grafana 7.3.6-7.el8_4fixed: vendor fix RHSA-2024:8083
-
Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat Enterprise Linux 10 grafananot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.8 | 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 |
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P |
| CNA | 4.0 | 7.8 | 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 |
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
| GitHub | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | uplot | <1.6.31 |
1.6.31 |
Affected products
- n/a uplot
- n/a org.webjars.npm:uplot
- leeoniya uplot
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/leeoniya/uPlot/commit/5756e3e9b91270b303157e14bd0174311047d983
web
-
security.snyk.io
/vuln/SNYK-JS-UPLOT-6209224
web
- security.snyk.io /vuln/SNYK-JAVA-ORGWEBJARSNPM-8163085
- github.com /leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js%23L437-L452
-
nvd.nist.gov
/vuln/detail/CVE-2024-21489
advisory
-
github.com
/leeoniya/uPlot
package
-
github.com
/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js#L437-L452
web
Sources
- CVE List CVE-2024-21489
- GitHub Advisory GHSA-34q8-jcq6-mc37
- NVD CVE-2024-21489
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.