Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1qOHhnLWZxZzMtNTNyN84AAz-j
word-wrap vulnerable to Regular Expression Denial of Service
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.
Permalink: https://github.com/advisories/GHSA-j8xg-fqg3-53r7JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qOHhnLWZxZzMtNTNyN84AAz-j
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 11 months ago
Updated: 6 months ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Identifiers: GHSA-j8xg-fqg3-53r7, CVE-2023-26115
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-26115
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-4058657
- https://security.snyk.io/vuln/SNYK-JS-WORDWRAP-3149973
- https://github.com/jonschlinkert/word-wrap/blob/master/index.js#L39
- https://github.com/jonschlinkert/word-wrap/releases/tag/1.2.4
- https://github.com/jonschlinkert/word-wrap/commit/420dce9a2412b21881202b73a3c34f0edc53cb2e
- https://github.com/jonschlinkert/word-wrap/blob/master/index.js%23L39
- https://github.com/advisories/GHSA-j8xg-fqg3-53r7
Blast Radius: 33.8
Affected Packages
npm:word-wrap
Dependent packages: 1,879Dependent repositories: 2,368,421
Downloads: 85,272,908 last month
Affected Version Ranges: < 1.2.4
Fixed in: 1.2.4
All affected versions: 0.1.0, 0.1.2, 0.1.3, 0.2.0, 0.3.0, 0.3.1, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3
All unaffected versions: 1.2.4, 1.2.5