Submeter #860239: Node.js @publint/pack 0.1.4 OS Command Injectioninformação

TítuloNode.js @publint/pack 0.1.4 OS Command Injection
Descrição@publint/pack constructs package-manager commands as shell strings and executes them with child_process.exec(). The documented destination option is interpolated directly into the shell command. Because the command is executed by a shell, command substitution in the destination path is evaluated. Tested version: @publint/pack 0.1.4 Public API used: import { pack } from '@publint/pack' Relevant code path: // src/node/pack.js let command = `${packageManager} pack` // ... command += ` --pack-destination \"${packDestination}\"` const output = await util.promisify(cp.exec)(command, { cwd: dir })
Fonte⚠️ https://github.com/publint/publint/issues/236
Utilizador
 wjm2 (UID 99050)
Submissão16/06/2026 20h18 (há 1 mês)
Moderação22/07/2026 18h08 (1 month later)
EstadoAceite
Entrada VulDB382381 [publint até 0.1.4 package-manager Command src/node/pack.js child_process.exec Elevação de Privilégios]
Pontos20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!