What’s Vulnerable › Vulnerabilities

CVE-2024-27088: es5-ext Regular Expression Denial of Service in `function#copy` and `function#toStringTokens`

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 products

How to fix

Upgrade to a fixed version: medikoo es5-ext 0.10.63; Npm Es5-Ext 0.10.63. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27088 or the next vulnerability affects your stack