GHSA-3xgq-45jj-v275

Suggest an improvement
Source
https://github.com/advisories/GHSA-3xgq-45jj-v275
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-3xgq-45jj-v275/GHSA-3xgq-45jj-v275.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3xgq-45jj-v275
Aliases
Related
Published
2024-11-08T06:30:47Z
Modified
2024-11-19T16:19:47Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Regular Expression Denial of Service (ReDoS) in cross-spawn
Details

Versions of the package cross-spawn before 7.0.5 are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper input sanitization. An attacker can increase the CPU usage and crash the program by crafting a very large and well crafted string.

Database specific
{
    "nvd_published_at": "2024-11-08T05:15:06Z",
    "cwe_ids": [
        "CWE-1333"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-11-15T22:25:53Z"
}
References

Affected packages

npm / cross-spawn

Package

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0
Fixed
7.0.5

npm / cross-spawn

Package

Affected ranges

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