Advisory

GHSA-j8xg-fqg3-53r7

Also known as: CVE-2023-26115

Summary

word-wrap vulnerable to Regular Expression Denial of Service

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-06-22 06:30 UTC
Modified
2025-02-13 19:00 UTC

Affected packages and fixes

word-wrap

npm · All systems

Affected

  • introduced 0, fixed 1.2.4 (semver)

Fixed versions

1.2.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences