p PatchFirst

CVE-2021-42740

CVE-2021-42740

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

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 · Критический · EPSS 4,2% · Есть исправление

Опубликовано
Обновлено

Стек: system · node

Затронутые продукты и версии

  • n/a

    Версии
    • n/a: Затронуто

    Нет опубликованного исправления

  • node-shell-quote Debian:12

    Затронутые диапазоны версий
    • ECOSYSTEM: < 1.7.3+~1.7.1-1

    Обновитесь до 1.7.3+~1.7.1-1

  • node-shell-quote Debian:13

    Затронутые диапазоны версий
    • ECOSYSTEM: < 1.7.3+~1.7.1-1

    Обновитесь до 1.7.3+~1.7.1-1

  • node-shell-quote Debian:14

    Затронутые диапазоны версий
    • ECOSYSTEM: < 1.7.3+~1.7.1-1

    Обновитесь до 1.7.3+~1.7.1-1

  • shell-quote npm

    Затронутые диапазоны версий
    • SEMVER: ≥ 1.6.3, < 1.7.3

    Обновитесь до 1.7.3

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

    Версии
    • 1.6.1+20160617-git72fb5a8ce29b-1
    • 1.6.1+20160617-git72fb5a8ce29b-1ubuntu0.1~esm1
    Затронутые диапазоны версий
    • ECOSYSTEM: (−∞, +∞)

    Нет опубликованного исправления

Первоисточники

Проверьте свой сервер →