Vulnerability · Published Feb 26, 2024 · Assigned by GitHub_M
CVE-2024-27088es5-ext Regular Expression Denial of Service in `function#copy` and `function#toStringTokens`
None 0.0
In plain English
A uncontrolled resource consumption in es5-ext from medikoo. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-es5-ext | no fix listed | DEBIAN-CVE-2024-27088 |
| Debian:13 | node-es5-ext | 0.10.64+dfsg1+~1.1.0-1 | DEBIAN-CVE-2024-27088 |
| Debian:14 | node-es5-ext | 0.10.64+dfsg1+~1.1.0-1 | DEBIAN-CVE-2024-27088 |
| Ubuntu:22.04:LTS | node-es5-ext | no fix listed | UBUNTU-CVE-2024-27088 |
| Ubuntu:24.04:LTS | node-es5-ext | no fix listed | UBUNTU-CVE-2024-27088 |
| Ubuntu:25.10 | node-es5-ext | no fix listed | UBUNTU-CVE-2024-27088 |
| Ubuntu:26.04:LTS | node-es5-ext | no fix listed | UBUNTU-CVE-2024-27088 |
| Ubuntu:26.10 | node-es5-ext | no fix listed | UBUNTU-CVE-2024-27088 |
| npm | es5-ext | 0.10.63 | GHSA-4gmj-3p3h-gm8h |
Affected products (as reported)
Weakness: CWE-400, CWE-1333 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N
References
- https://github.com/medikoo/es5-ext/security/advisories/GHSA-4gmj-3p3h-gm8h x_refsource_CONFIRM
- https://github.com/medikoo/es5-ext/issues/201 x_refsource_MISC
- https://github.com/medikoo/es5-ext/commit/3551cdd7b2db08b1632841f819d008757d28e8e2 x_refsource_MISC
- https://github.com/medikoo/es5-ext/commit/a52e95736690ad1d465ebcd9791d54570e294602 x_refsource_MISC