Description
Affected versions of timespan are vulnerable to a regular expression denial of service when parsing dates.
The amplification for this vulnerability is significant, with 50,000 characters resulting in the event loop being blocked for around 10 seconds.
Recommendation
No fix is available yet. Followings are affected versions:
- <= 2.3.0
References
Could your website be exposed too?
SmartScanner can check your website for Regular Expression Denial of Service in timespan and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Regular Expression Denial of Service in decamelize - CVE-2017-16023
- Regular Expression Denial Of Service in uri-js - CVE-2017-16021
- Regular Expression Denial of Service in no-case - CVE-2017-16099
- Regular Expression Denial of Service in parsejson - CVE-2017-16113


