जमा करें #860239: Node.js @publint/pack 0.1.4 OS Command Injectionजानकारी

शीर्षकNode.js @publint/pack 0.1.4 OS Command Injection
विवरण@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 })
स्रोत⚠️ https://github.com/publint/publint/issues/236
उपयोगकर्ता
 wjm2 (UID 99050)
सबमिशन16/06/2026 08:18 PM (1 महीना पहले)
संयम22/07/2026 06:08 PM (1 month later)
स्थितिस्वीकृत
VulDB प्रविष्टि382381 [publint तक 0.1.4 package-manager Command src/node/pack.js child_process.exec अधिकार वृद्धि]
अंक20

Do you know our Splunk app?

Download it now for free!