Lucene search

K
nodejsCristian-Alexandru StaicuNODEJS:536
HistorySep 25, 2017 - 7:16 p.m.

Regular Expression Denial of Service

2017-09-2519:16:01
Cristian-Alexandru Staicu
www.npmjs.com
51

EPSS

0.001

Percentile

44.0%

Overview

Affected versions of string are vulnerable to regular expression denial of service when specifically crafted untrusted user input is passed into the underscore or unescapeHTML methods.

Recommendation

There is currently no direct patch for this vulnerability.

Currently, the best solution is to avoid passing user input to the underscore and unescapeHTML methods.

Alternatively, a user provided patch is available in Pull Request #217, however this patch has not been tested, nor has it been merged by the package author.

References

EPSS

0.001

Percentile

44.0%