0.0none
es5-ext Regular Expression Denial of Service in `function#copy` and `function#toStringTokens`
- Severity
- 0.0none CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.54% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-4gmj-3p3h-gm8h
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| medikoo es5-ext | >= 0.10.0, < 0.10.63, from 0.10.0 before 0.10.63 | CVE List, NVD |
| es5-ext (npm) | from 0.10.0 before 0.10.63 | GitHub Advisory Database |
All scores
| GitHub_M | 0.0none CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N |
| GitHub | low rating | |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
Passing functions with very long names or complex default argument names into function#copy orfunction#toStringTokens may put script to stall
Patches
Fixed with https://github.com/medikoo/es5-ext/commit/3551cdd7b2db08b1632841f819d008757d28e8e2 and https://github.com/medikoo/es5-ext/commit/a52e95736690ad1d465ebcd9791d54570e294602 Published with v0.10.63
Workarounds
No real workaround aside of refraining from using above utilities.
References
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27088 changed 2024-08-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4gmj-3p3h-gm8h changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-27088 changed 2026-06-17 | Public domain |