p PatchFirst

CVE-2025-64756

CVE-2025-64756 · glob CLI: Command injection via -c/--cmd executes matches with shell:true

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

Glob matches files using patterns the shell uses. Starting in version 10.2.0 and prior to versions 10.5.0 and 11.1.0, the glob CLI contains a command injection vulnerability in its -c/--cmd option that allows arbitrary command execution when processing files with malicious names. When glob -c <command> <patterns> are used, matched filenames are passed to a shell with shell: true, enabling shell metacharacters in filenames to trigger command injection and achieve arbitrary code execution under the user or CI account privileges. This issue has been patched in versions 10.5.0 and 11.1.0.

CVSS 7.5 · Высокий · EPSS 3,1% · Есть исправление

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

Стек: node

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

  • node-glob

    Версии
    • >= 10.2.0, < 10.5.0: Затронуто
    • >= 11.0.0, < 11.1.0: Затронуто

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

  • glob npm

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

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

  • glob npm

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

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

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

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