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://github.com/jonschlinkert/word-wrap/blob/master/index.js%23L39
https://github.com/jonschlinkert/word-wrap/releases/tag/1.2.4
https://security.netapp.com/advisory/ntap-20240621-0006/
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-4058657
https://security.snyk.io/vuln/SNYK-JS-WORDWRAP-3149973
Related Vulnerabilities
CVE-2020-8244 Vulnerability in npm package bl
CVE-2022-3171 Vulnerability in maven package com.google.protobuf:protobuf-javalite
CVE-2018-12585 Vulnerability in maven package org.opcfoundation.ua:opc-ua-stack
CVE-2017-1000392 Vulnerability in maven package org.jenkins-ci.main:jenkins-war
CVE-2018-5673 Vulnerability in maven package org.webjars.bowergithub.dojo:dojo