GitHub Advisoryadvisory · npm
GHSA-j8xg-fqg3-53r7 word-wrap vulnerable to Regular Expression Denial of Service
MEDIUM
Official page ↗
- Aliases
- CVE-2023-26115
- Ecosystem
- npm
- Packages
- word-wrap
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-1333
- Reviewed
- 2023-06-23
Affected packages
• npm word-wrap: < 1.2.4 → fixed in 1.2.4
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.
Related
Alias · CVE (1)
- CVE-2023-26115 All versions of the package word-wrap are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of an insecure… vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26115 advisory
- https://github.com/jonschlinkert/word-wrap/commit/420dce9a2412b21881202b73a3c34f0edc53cb2e web
- https://github.com/jonschlinkert/word-wrap package
- https://github.com/jonschlinkert/word-wrap/blob/master/index.js#L39 web
- https://github.com/jonschlinkert/word-wrap/blob/master/index.js%23L39 web
- https://github.com/jonschlinkert/word-wrap/releases/tag/1.2.4 web
- https://security.netapp.com/advisory/ntap-20240621-0006 web
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-4058657 web
- https://security.snyk.io/vuln/SNYK-JS-WORDWRAP-3149973 web