Skip to content
Heist/ feed
Back to feed
Unrated

es5-ext Regular Expression Denial of Service in `function#copy` and `function#toStringTokens`

Type: advisorySources: OSV

es5-ext contains ECMAScript 5 extensions. Passing functions with very long names or complex default argument names into `function#copy` or `function#toStringTokens` may cause the script to stall. The vulnerability is patched in v0.10.63.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-27088
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 12:56 UTC · Revision 1

Source evidence

es5-ext Regular Expression Denial of Service in `function#copy` and `function#toStringTokens`

core-osv · Original source

Published 26 Feb 2024, 16:50 UTC

es5-ext contains ECMAScript 5 extensions. Passing functions with very long names or complex default argument names into `function#copy` or `function#toStringTokens` may cause the script to stall. The vulnerability is patched in v0.10.63.

osv:CVE-2024-27088
Complete source record
{
  "id": "d8ef26016174b44cde7f2e17062b4139bea14890ae43ea962b0822b7ca610ae8",
  "url": "https://osv.dev/vulnerability/CVE-2024-27088",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "es5-ext Regular Expression Denial of Service in `function#copy` and `function#toStringTokens`",
    "summary": "es5-ext contains ECMAScript 5 extensions. Passing functions with very long names or complex default argument names into `function#copy` or `function#toStringTokens` may cause the script to stall. The vulnerability is patched in v0.10.63.",
    "evidence": "osv:CVE-2024-27088",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-27088",
      "aliases": [
        "CVE-2024-27088",
        "GHSA-4gmj-3p3h-gm8h"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/medikoo/es5-ext",
              "type": "GIT",
              "events": [
                {
                  "introduced": "76cb026954045ee3e27a3ec7420f5fe48f0a30e5"
                },
                {
                  "fixed": "de4e03c4776a303284142f73f3f181a070615817"
                },
                {
                  "fixed": "3551cdd7b2db08b1632841f819d008757d28e8e2"
                },
                {
                  "fixed": "a52e95736690ad1d465ebcd9791d54570e294602"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:medikoo:es5-ext:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0.10.0"
                      },
                      {
                        "fixed": "0.10.63"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3551cdd7b2db08b1632841f819d008757d28e8e2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a52e95736690ad1d465ebcd9791d54570e294602"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.10.62",
            "v0.10.61",
            "v0.10.60",
            "v0.10.59",
            "v0.10.58",
            "v0.10.57",
            "v0.10.56",
            "v0.10.55",
            "v0.10.54",
            "v0.10.53",
            "v0.10.52",
            "v0.10.51",
            "v0.10.50",
            "v0.10.49",
            "v0.10.48",
            "v0.10.47",
            "v0.10.46",
            "v0.10.45",
            "v0.10.44",
            "v0.10.43",
            "v0.10.42",
            "v0.10.41",
            "v0.10.40",
            "v0.10.39",
            "v0.10.38",
            "v0.10.37",
            "v0.10.36",
            "v0.10.35",
            "v0.10.34",
            "v0.10.33",
            "v0.10.32",
            "v0.10.31",
            "v0.10.30",
            "v0.10.29",
            "v0.10.28",
            "v0.10.27",
            "v0.10.26",
            "v0.10.25",
            "v0.10.24",
            "v0.10.23",
            "v0.10.22",
            "v0.10.21",
            "v0.10.20",
            "v0.10.19",
            "v0.10.18",
            "v0.10.17",
            "v0.10.16",
            "v0.10.15",
            "v0.10.14",
            "v0.10.13",
            "v0.10.12",
            "v0.10.11",
            "v0.10.10",
            "v0.10.9",
            "v0.10.8",
            "v0.10.7",
            "v0.10.6",
            "v0.10.5",
            "v0.10.4",
            "v0.10.3",
            "v0.10.2",
            "v0.10.1",
            "v0.10.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27088.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.050460470Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27088.json",
        "https://github.com/medikoo/es5-ext/security/advisories/GHSA-4gmj-3p3h-gm8h",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-27088",
        "https://github.com/medikoo/es5-ext/issues/201",
        "https://github.com/medikoo/es5-ext/commit/3551cdd7b2db08b1632841f819d008757d28e8e2",
        "https://github.com/medikoo/es5-ext/commit/a52e95736690ad1d465ebcd9791d54570e294602"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1333",
          "CWE-400"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27088.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-27088",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 495601,
  "published_at": "2024-02-26T16:50:05.714+00:00"
}