CVE-2023-26115
Word-wrap Project Word-wrap vulnerability
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
Word-wrap. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Word-wrap Project Word-wrap runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jonschlinkert/word-wrap/releases/tag/1.2.4 · Third Party Advisory
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-4058657 · Exploit
- security.snyk.io/vuln/SNYK-JS-WORDWRAP-3149973 · Exploit
- github.com/jonschlinkert/word-wrap/blob/master/index.js%23L39
- security.netapp.com/advisory/ntap-20240621-0006/
- nvd.nist.gov/vuln/detail/CVE-2023-26115
- github.com/jonschlinkert/word-wrap/blob/master/index.js#L39
- github.com/jonschlinkert/word-wrap/commit/420dce9a2412b21881202b73a3c34f0edc53cb2e
- nvd.nist.gov/vuln/detail/CVE-2023-26115
- cve.org/CVERecord?id=CVE-2023-26115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.