GHSA-j8xg-fqg3-53r7
word-wrap vulnerable to Regular Expression Denial of Service
At a glance
- Published
- Updated
- CVE
- CVE-2023-26115
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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 packages
| Package | Versions |
|---|---|
| npm · word-wrap | introduced 0, fixed 1.2.4 |
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
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |