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.
Remediation
References
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-4058657
https://github.com/jonschlinkert/word-wrap/blob/master/index.js%23L39
https://security.snyk.io/vuln/SNYK-JS-WORDWRAP-3149973
https://github.com/jonschlinkert/word-wrap/releases/tag/1.2.4
https://security.netapp.com/advisory/ntap-20240621-0006/
Related Vulnerabilities
CVE-2023-37945 Vulnerability in maven package io.jenkins.plugins:miniorange-saml-sp
CVE-2021-23329 Vulnerability in npm package nested-object-assign
CVE-2021-21181 Vulnerability in npm package electron
CVE-2020-28503 Vulnerability in maven package org.webjars.npm:copy-props
CVE-2011-4905 Vulnerability in maven package org.apache.activemq:activemq-core