{"id":"CVE-2024-27088","aliases":["CVE-2024-27088","GHSA-4gmj-3p3h-gm8h"],"related":[],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nPassing functions with very long names or complex default argument names into `function#copy` or`function#toStringTokens` may put script to stall\n\n### Patches\nFixed with https://github.com/medikoo/es5-ext/commit/3551cdd7b2db08b1632841f819d008757d28e8e2 and https://github.com/medikoo/es5-ext/commit/a52e95736690ad1d465ebcd9791d54570e294602\nPublished with v0.10.63\n\n### Workarounds\nNo real workaround aside of refraining from using above utilities.\n\n### References\nhttps://github.com/medikoo/es5-ext/issues/201","format":"markdown","source":"ghsa"},{"lang":"es","text":"es5-ext contiene extensiones ECMAScript 5. Pasar funciones con nombres muy largos o nombres de argumentos predeterminados complejos a `function#copy` o `function#toStringTokens` puede provocar que el script se detenga. La vulnerabilidad está parcheada en v0.10.63.","source":"nvd"}],"published":"2024-02-26T16:50:05.714Z","modified":"2026-09-10T03:50:05.256Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N","score":0,"rating":"NONE"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N","score":0,"rating":"NONE"},{"scorer":"GitHub","scheme":"rating","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"version":">= 0.10.0, < 0.10.63","status":"affected"}],"vendor":"medikoo","product":"es5-ext","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.10.0","status":"affected","fixed":"0.10.63"}],"ecosystem":"npm","package":"es5-ext","purl":"pkg:npm/es5-ext","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.10.0","fixed":"0.10.63"}],"vendor":"medikoo","product":"es5-ext","cpe":"cpe:2.3:a:medikoo:es5-ext:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/medikoo/es5-ext/security/advisories/GHSA-4gmj-3p3h-gm8h","tags":["patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/medikoo/es5-ext/issues/201","tags":["exploit","issue-tracking","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/medikoo/es5-ext/commit/3551cdd7b2db08b1632841f819d008757d28e8e2","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/medikoo/es5-ext/commit/a52e95736690ad1d465ebcd9791d54570e294602","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27088","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/medikoo/es5-ext","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-09T18:21:09.554Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27088","url":"https://www.cve.org/CVERecord?id=CVE-2024-27088","licence":"CVE Terms of Use","modified":"2024-08-09T18:21:21.894Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4gmj-3p3h-gm8h","url":"https://github.com/advisories/GHSA-4gmj-3p3h-gm8h","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:05.256Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27088","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27088","licence":"Public domain","modified":"2026-06-17T07:19:08.413Z"}],"updatedAt":"2026-11-25T22:58:37.065Z","epss":{"score":0.00539,"percentile":0.46825,"date":"2026-12-01T12:00:22.000Z"}}