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.
References
- github.com/advisories/GHSA-34q8-jcq6-mc37
- github.com/leeoniya/uPlot
- github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js
- github.com/leeoniya/uPlot/commit/5756e3e9b91270b303157e14bd0174311047d983
- nvd.nist.gov/vuln/detail/CVE-2024-21489
- security.snyk.io/vuln/SNYK-JS-UPLOT-6209224
Detect and mitigate CVE-2024-21489 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →