Description
All versions of the package word-wrap are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of an insecure regular expression within the result variable.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n/a word-wrap
0 to < *affected
n/a org.webjars.npm:word-wrap
0 to < *affected
References
- https://security.snyk.io/vuln/SNYK-JS-WORDWRAP-3149973 ↗
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-4058657 ↗
- https://github.com/jonschlinkert/word-wrap/blob/master/index.js%23L39 ↗
- https://github.com/jonschlinkert/word-wrap/releases/tag/1.2.4 ↗
- https://security.netapp.com/advisory/ntap-20240621-0006/ ↗