From d4d870cfd84d811bab0e37db0b3786a96d3d2fbd Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Tue, 19 Nov 2024 07:09:58 +1300 Subject: [PATCH] Improve GHSA-3xgq-45jj-v275 --- .../GHSA-3xgq-45jj-v275.json | 36 +++++++++++++++++-- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/advisories/github-reviewed/2024/11/GHSA-3xgq-45jj-v275/GHSA-3xgq-45jj-v275.json b/advisories/github-reviewed/2024/11/GHSA-3xgq-45jj-v275/GHSA-3xgq-45jj-v275.json index 5f3d086eb9acc..b7fbaabb37aeb 100644 --- a/advisories/github-reviewed/2024/11/GHSA-3xgq-45jj-v275/GHSA-3xgq-45jj-v275.json +++ b/advisories/github-reviewed/2024/11/GHSA-3xgq-45jj-v275/GHSA-3xgq-45jj-v275.json @@ -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", @@ -25,7 +25,7 @@ "type": "ECOSYSTEM", "events": [ { - "introduced": "0" + "introduced": "7.0.0" }, { "fixed": "7.0.5" @@ -33,6 +33,28 @@ ] } ] + }, + { + "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": [ @@ -40,6 +62,10 @@ "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" @@ -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"