Open-source package vulnerability · npm
CVE-2024-21489: uPlot Prototype Pollution vulnerability
highCVSS 4.0 8.8 · 3.1 8.2GHSA-34q8-jcq6-mc37
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.
Published Oct 1, 2024
Affected packages
uplot
- Ecosystem
- npm
- Affected
- < 1.6.31
- Fixed in
- 1.6.31
- Check
npm ls uplot
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-21489
- https://github.com/leeoniya/uPlot/commit/5756e3e9b91270b303157e14bd0174311047d983
- https://security.snyk.io/vuln/SNYK-JS-UPLOT-6209224
- https://github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js#L437-L452
- https://github.com/advisories/GHSA-34q8-jcq6-mc37
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
