GHSA-j8xg-fqg3-53r7

Suggest an improvement
Source
https://github.com/advisories/GHSA-j8xg-fqg3-53r7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-j8xg-fqg3-53r7/GHSA-j8xg-fqg3-53r7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j8xg-fqg3-53r7
Aliases
Published
2023-06-22T06:30:18Z
Modified
2024-06-21T21:33:53Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2023-06-22T05:15:09Z",
    "cwe_ids": [
        "CWE-1333"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-06-23T21:36:40Z"
}
References

Affected packages

npm / word-wrap

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.4

Ecosystem specific

{
    "affected_functions": [
        "(word-wrap)"
    ]
}