Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GHSA-3xgq-45jj-v275] Regular Expression Denial of Service (ReDoS) in cross-spawn #5021

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"schema_version": "1.4.0",
"id": "GHSA-3xgq-45jj-v275",
"modified": "2024-11-15T22:25:53Z",
"modified": "2024-11-15T22:25:54Z",
"published": "2024-11-08T06:30:47Z",
"aliases": [
"CVE-2024-21538"
],
"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.",
"details": "Versions of the package cross-spawn before 6.0.6 and 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.",
"severity": [
{
"type": "CVSS_V3",
Expand All @@ -25,21 +25,47 @@
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
"introduced": "7.0.0"
},
{
"fixed": "7.0.5"
}
]
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "cross-spawn"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.0.6"
}
]
}
],
"database_specific": {
"last_known_affected_version_range": "< 6.0.5"
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21538"
},
{
"type": "WEB",
"url": "https://github.com/moxystudio/node-cross-spawn/issues/165"
},
{
"type": "WEB",
"url": "https://github.com/moxystudio/node-cross-spawn/pull/160"
Expand All @@ -52,6 +78,10 @@
"type": "WEB",
"url": "https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f"
},
{
"type": "WEB",
"url": "https://github.com/moxystudio/node-cross-spawn/commit/d35c865b877d2f9ded7c1ed87521c2fdb689c8dd"
},
{
"type": "PACKAGE",
"url": "https://github.com/moxystudio/node-cross-spawn"
Expand Down
Loading