CVE-2024-27088
JSON

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 packageVersionsReported by
medikoo es5-ext>= 0.10.0, < 0.10.63, from 0.10.0 before 0.10.63CVE List, NVD
es5-ext (npm)from 0.10.0 before 0.10.63GitHub Advisory Database

All scores

GitHub_M0.0none CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N
GitHublow rating
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400CWE-1333

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

https://github.com/medikoo/es5-ext/issues/201

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

SourceRecordLicence
CVE ListCVE-2024-27088 changed 2024-08-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-4gmj-3p3h-gm8h changed 2026-09-10CC-BY-4.0
NVDCVE-2024-27088 changed 2026-06-17Public domain