{"id":"CVE-2024-21489","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":["GHSA-34q8-jcq6-mc37"],"modified":"2026-08-17T03:36:26.240482264Z","published":"2024-10-01T05:00:02.644Z","database_specific":{"cwe_ids":["CWE-1321"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21489.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"*"}]}],"cna_assigner":"snyk"},"references":[{"type":"WEB","url":"https://github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js%23L437-L452"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8163085"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-UPLOT-6209224"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21489.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21489"},{"type":"FIX","url":"https://github.com/leeoniya/uPlot/commit/5756e3e9b91270b303157e14bd0174311047d983"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/leeoniya/uplot","events":[{"introduced":"0"},{"fixed":"f98d1d34d92a128f18fbaac9293910eed85ea19c"},{"fixed":"5756e3e9b91270b303157e14bd0174311047d983"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.6.31"}],"source":["DESCRIPTION","REFERENCES"]}}],"versions":["1.6.30","1.6.29","1.6.28","1.6.27","1.6.26","1.6.25","1.6.24","1.6.23","1.6.22","1.6.21","1.6.20","1.6.19","1.6.18","1.6.17","1.6.16","1.6.15","1.6.14","1.6.13","1.6.12","1.6.11","1.6.10","1.6.9","1.6.8","1.6.7","1.6.6","1.6.5","1.6.4","1.6.3","1.6.2","1.6.1","1.6.0","1.5.2","1.5.1","1.5.0","1.4.7","1.4.6","1.4.5","1.4.4","1.4.3","1.4.2","1.4.1","1.4.0","1.3.0","1.2.2","1.2.1","1.2.0","1.1.2","1.1.1","1.1.0","1.0.11","1.0.10","1.0.9","1.0.8","1.0.7","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21489.json"}}],"schema_version":"1.9.0","severity":[{"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/E:P"}]}