Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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 attribute resolves to the object prototype.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-21489
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:09 UTC · Revision 1

Source evidence

CVE-2024-21489

core-osv · Original source

Published 1 Oct 2024, 05:00 UTC

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.

osv:CVE-2024-21489
Complete source record
{
  "id": "8d52a17d9d0c2fac634ff4ca755bf1bb3a1c6eb935751b175079194862bf5386",
  "url": "https://osv.dev/vulnerability/CVE-2024-21489",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-21489",
    "summary": "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.",
    "evidence": "osv:CVE-2024-21489",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-21489",
      "aliases": [
        "CVE-2024-21489",
        "GHSA-34q8-jcq6-mc37"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/leeoniya/uplot",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f98d1d34d92a128f18fbaac9293910eed85ea19c"
                },
                {
                  "fixed": "5756e3e9b91270b303157e14bd0174311047d983"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.6.31"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5756e3e9b91270b303157e14bd0174311047d983"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "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"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.595168833Z",
      "provider": "osv",
      "references": [
        "https://github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js%23L437-L452",
        "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8163085",
        "https://security.snyk.io/vuln/SNYK-JS-UPLOT-6209224",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21489.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-21489",
        "https://github.com/leeoniya/uPlot/commit/5756e3e9b91270b303157e14bd0174311047d983"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1321"
        ],
        "cna_assigner": "snyk",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "*"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21489.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-21489",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521215,
  "published_at": "2024-10-01T05:00:02.644+00:00"
}