Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-1001002

math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-1001002
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:48 UTC · Revision 1

Source evidence

CVE-2017-1001002

core-osv · Original source

Published 27 Nov 2017, 14:29 UTC

math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.

osv:CVE-2017-1001002
Complete source record
{
  "id": "894104c8f5c524d5956fdc111c2fb9c24af456e97fd00f021d63e81cd6e4af4f",
  "url": "https://osv.dev/vulnerability/CVE-2017-1001002",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-1001002",
    "summary": "math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.",
    "evidence": "osv:CVE-2017-1001002",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-1001002",
      "aliases": [
        "CVE-2017-1001002",
        "GHSA-vx5c-87qx-cv6c"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/josdejong/mathjs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "ad4932fce19337a7cd8688f504760a4d5dc6feaf"
                },
                {
                  "fixed": "8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mathjs:math.js:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.17.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.16.5",
            "v3.16.4",
            "v3.16.3",
            "v3.16.1",
            "v3.16.2",
            "v3.15.0",
            "v3.14.2",
            "v3.14.1",
            "v3.14.0",
            "v3.13.3",
            "v3.13.2",
            "v3.13.1",
            "v3.13.0",
            "v3.12.3",
            "v3.12.2",
            "v3.12.1",
            "v3.11.5",
            "v3.11.4",
            "v3.11.3",
            "v3.11.2",
            "v3.11.1",
            "v3.11.0",
            "v3.10.3",
            "v3.10.2",
            "v3.10.1",
            "v3.10.0",
            "v3.9.3",
            "v3.9.2",
            "v3.9.1",
            "v3.9.0",
            "v3.8.1",
            "v3.8.0",
            "v3.7.0",
            "v3.6.0",
            "v3.5.3",
            "v3.5.2",
            "v3.5.1",
            "v3.5.0",
            "v3.4.1",
            "v3.4.0",
            "v3.3.0",
            "v3.2.1",
            "v3.2.0",
            "v3.1.4",
            "v3.1.3",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0",
            "v3.0.0",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.1",
            "v2.1.0",
            "v2.0.1",
            "v2.0.0",
            "v1.2.0",
            "v1.1.1",
            "v1.1.0",
            "v1.0.1",
            "v0.26.0",
            "v0.25.0",
            "v0.24.1",
            "v0.24.0",
            "v0.23.0",
            "v0.22.0",
            "v0.18.0",
            "v0.17.1",
            "v0.17.0",
            "v0.16.0",
            "v0.15.0",
            "v0.14.0",
            "v0.13.0",
            "v0.12.1",
            "v0.12.0",
            "v0.11.1",
            "v0.11.0",
            "v0.10.0",
            "v0.9.1",
            "v0.9.0",
            "v0.8.1",
            "v0.8.2",
            "v0.8.0",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.0",
            "v0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0",
            "v0.0.2",
            "v0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-1001002.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:01.103225376Z",
      "provider": "osv",
      "references": [
        "https://github.com/josdejong/mathjs/blob/master/HISTORY.md#2017-11-18-version-3170",
        "https://github.com/josdejong/mathjs/commit/8d2d48d81b3c233fb64eb2ec1d7a9e1cf6a55a90"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-1001002",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379936,
  "published_at": "2017-11-27T14:29:00.24+00:00"
}