PT-2023-4760 · Node.Js · Word-Wrap
Carter Snook
·
Published
2023-06-22
·
Updated
2026-06-04
·
CVE-2023-26115
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
word-wrap versions all
Description
The issue is related to the use of a regular expression with inefficient computational complexity in the word-wrap module of the Node.js platform. This can be exploited by a remote attacker to cause a denial of service. The vulnerability is due to the usage of an insecure regular expression within the
result variable.Recommendations
For all versions, consider disabling the use of the word-wrap module until a secure version is available. As a temporary workaround, restrict the input to the
result variable to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Word-Wrap