{"id":"GHSA-34q8-jcq6-mc37","summary":"uPlot Prototype Pollution vulnerability","details":"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.","aliases":["CVE-2024-21489"],"modified":"2024-10-01T18:42:10.683979Z","published":"2024-10-01T06:30:47Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-10-01T18:10:50Z","nvd_published_at":"2024-10-01T05:15:12Z","cwe_ids":["CWE-1321"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21489"},{"type":"WEB","url":"https://github.com/leeoniya/uPlot/commit/5756e3e9b91270b303157e14bd0174311047d983"},{"type":"PACKAGE","url":"https://github.com/leeoniya/uPlot"},{"type":"WEB","url":"https://github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js#L437-L452"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-UPLOT-6209224"}],"affected":[{"package":{"name":"uplot","ecosystem":"npm","purl":"pkg:npm/uplot"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.31"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-34q8-jcq6-mc37/GHSA-34q8-jcq6-mc37.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L"},{"type":"CVSS_V4","score":"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"}]}