You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
timespan is a JavaScript TimeSpan library for node.js (and soon the browser).
Affected versions of this package are vulnerable to Regular expression Denial of Service (ReDoS). It parses dates using regex strings, which may cause a slowdown of 10 seconds per 50k characters.
The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Many Regular Expression implementations may reach extreme situations that cause them to work very slowly (exponentially related to input size), allowing an attacker to exploit this and can cause the program to enter these extreme situations by using a specially crafted input and cause the service to excessively consume CPU, resulting in a Denial of Service.
The advisory is for the timespan package:
https://nodesecurity.io/advisories/533
indexzero/TimeSpan.js#10
This means all projects using NSP and forever will have test unit failures.
It is unclear if that package is maintained. Last commit was in Aug 2016.
The text was updated successfully, but these errors were encountered: