Lucene search

K
osvGoogleOSV:GHSA-G36H-6R4F-3MQP
HistoryJul 24, 2018 - 8:16 p.m.

Regular Expression Denial of Service in string package

2018-07-2420:16:11
Google
osv.dev
8

EPSS

0.001

Percentile

44.0%

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.

EPSS

0.001

Percentile

44.0%