CVE
РУСҚАЗ
CVE-2025-64756Жоғары7.5Машиналық аударма

glob CLI: -c/--cmd арқылы командалық инъекция сәйкестіктерді shell:true режимінде орындайды

Түзету

Түзетілген нұсқалар: 10.5.011.1.0

Зардап шегетін нұсқалар

node-glob
бастап 10.2.0 → түзетілді 10.5.0
бастап 11.0.0 → түзетілді 11.1.0
globnpm
бастап 11.0.0 → түзетілді 11.1.0
globnpm
бастап 10.2.0 → түзетілді 10.5.0
Түпнұсқа сипаттама (EN)

Түпнұсқа тақырып: 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.

Сілтемелер