high8.2
CVE-2024-21489
uPlot Prototype Pollution vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | uplot | < 1.6.31 | 1.6.31 |
Affected products
| Product | Affected versions |
|---|---|
| Package Uplot | before 1.6.31 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js%23L437-L452
- https://github.com/leeoniya/uPlot/commit/5756e3e9b91270b303157e14bd0174311047d983
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8163085
- https://security.snyk.io/vuln/SNYK-JS-UPLOT-6209224
- https://github.com/advisories/GHSA-34q8-jcq6-mc37
- https://nvd.nist.gov/vuln/detail/CVE-2024-21489
- https://github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js#L437-L452