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.
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.
{ "nvd_published_at": null, "cwe_ids": [ "CWE-400" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:35:57Z" }