Skip to content
Fencer Intel
none 0.0

CVE-2024-27088 json

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

published 2y ago modified 2mo ago also EUVD-2024-0508 , GHSA-4gmj-3p3h-gm8h

cvss
0.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 45%
public exploits
0
none known

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.

Patch / fix

  • npm es5-ext 0.10.63
  • medikoo es5-ext 0.10.63
  • node-es5-ext Debian 14, Debian 13 0.10.64+dfsg1+~1.1.0-1

debian advisories DEBIAN-CVE-2024-27088

Is CVE-2024-27088 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-27088 updated cvss 2.3

node-es5-ext: regular expression denial of service in `function#copy` and `function#toStringTokens`

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2y ago

Exploit prediction

0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-11).

Exploits and checks

  • github.com https://github.com/medikoo/es5-ext/issues/201 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 0.0 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
npm es5-ext
>=0.10.0, <0.10.63
0.10.63

Affected products

  • medikoo es5-ext

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption
  • CWE-1333 Inefficient Regular Expression Complexity

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of medikoo/es5-ext published their own advisory on GitHub. Reviewed sources take precedence over it.