GitHub Advisoryadvisory · npm
GHSA-34q8-jcq6-mc37 uPlot Prototype Pollution vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2024-21489
- Ecosystem
- npm
- Packages
- uplot
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
- Weaknesses
- CWE-1321
- Reviewed
- 2024-10-01
Affected packages
• npm uplot: < 1.6.31 → fixed in 1.6.31
Description
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.
Related
Alias · CVE (1)
- CVE-2024-21489 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… vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-21489 advisory
- https://github.com/leeoniya/uPlot/commit/5756e3e9b91270b303157e14bd0174311047d983 web
- https://github.com/leeoniya/uPlot package
- https://github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js#L437-L452 web
- https://security.snyk.io/vuln/SNYK-JS-UPLOT-6209224 web