p PatchFirst

CVE-2021-42740

CVE-2021-42740

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

The shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with exec(), an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is {A-z] instead of the correct {A-Za-z]. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.

CVSS 9.8 · Kritisch · EPSS 4,2% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: system · node

Betroffene Produkte und Versionen

  • n/a

    Softwareversionen
    • n/a: Betroffen

    Keine Korrektur veröffentlicht

  • node-shell-quote Debian:12

    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.7.3+~1.7.1-1

    Auf 1.7.3+~1.7.1-1 aktualisieren

  • node-shell-quote Debian:13

    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.7.3+~1.7.1-1

    Auf 1.7.3+~1.7.1-1 aktualisieren

  • node-shell-quote Debian:14

    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.7.3+~1.7.1-1

    Auf 1.7.3+~1.7.1-1 aktualisieren

  • shell-quote npm

    Betroffene Versionsbereiche
    • SEMVER: ≥ 1.6.3, < 1.7.3

    Auf 1.7.3 aktualisieren

  • node-shell-quote Ubuntu:Pro:18.04:LTS

    Softwareversionen
    • 1.6.1+20160617-git72fb5a8ce29b-1
    • 1.6.1+20160617-git72fb5a8ce29b-1ubuntu0.1~esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

Originalquellen

Prüfen Sie Ihren Server →