CVE-2026-137198 (Medium) detected in cross-spawn-7.0.6.tgz

Offen Anfängerfreundlich
#409 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
72/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
cypress, javascript, node.js
Bereich
devops, security

Rechercherichtung

Beginne mit /ui/package.json und der Dependency-Lockdatei, um nachzuvollziehen, wie Cypress cross-spawn 7.0.6 einbindet. Prüfe, ob die Dependency auf die fehlerbereinigte Version 7.1.0 aktualisiert werden kann, ohne den aktuellen Dependency-Baum zu beschädigen. Als erledigt gilt die Aufgabe, wenn die aufgelöste cross-spawn-Version fehlerbereinigt ist und die Installation der UI-Dependencies erfolgreich ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Mend: dependency security vulnerability

CVE-2026-137198 - Medium Severity Vulnerability

Vulnerable Library - cross-spawn-7.0.6.tgz

Cross platform child_process#spawn and child_process#spawnSync

Library home page: https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz

Sample Path to Dependency File: /ui/package.json

Path to vulnerable library: /ui/node_modules/.pnpm/[email protected]/node_modules/cross-spawn/package.json

Dependency Hierarchy:

  • @⁠postgres.ai/ce-4.0.3.tgz (Root Library)
    • cypress-14.5.4.tgz
      • execa-4.1.0.tgz
        • ❌ cross-spawn-7.0.6.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. From 6.0.6 until 6.0.7 and from 7.0.4 until 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because cross-spawn did not correctly double runs of backslashes before a double quote or at the end of an argument. Two or more backslashes could escape the argument's closing quote, allowing attacker-controlled text to become extra arguments or consume following arguments. The caller may not detect the injection when the target accepts the resulting arguments and exits successfully, while a target that rejects an unexpected argument can fail instead. The affected command class includes npm cmd-shims in node_modules/.bin. This can change a target program's operation, although it does not by itself execute a second command and does not affect other platforms. This issue is fixed in versions 6.0.7 and 7.1.0.

Publish Date: 2026-11-30

URL: CVE-2026-137198

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-11-30

Fix Resolution: cross-spawn - 7.1.0


Step up your Open Source Security Game with Mend here

Vorherrschende Sprache
Go
Sterne
2.8k
Forks
88
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus postgres-ai/database-lab-engine

Alle Issues in postgres-ai/database-lab-engine

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.