जमा करें #860128: Node.js @umijs/utils 4.6.63 OS Command Injectionजानकारी

शीर्षकNode.js @umijs/utils 4.6.63 OS Command Injection
विवरण@umijs/utils exposes git helper functions through the package's top-level export: const { git } = require("@umijs/utils"); The exported git.getFileCreateInfo() and git.getFileLastModifyInfo() functions pass a user-controlled filePath argument to cross-spawn while setting shell: true. With shell: true, Node/cross-spawn concatenates arguments into a shell command, so shell metacharacters in filePath are interpreted by the shell. This allows command injection when these helpers are called with an untrusted or attacker-controlled file path.
स्रोत⚠️ https://github.com/umijs/umi/issues/13345
उपयोगकर्ता
 wjm2 (UID 99050)
सबमिशन16/06/2026 04:33 PM (1 महीना पहले)
संयम21/07/2026 06:05 PM (1 month later)
स्थितिस्वीकृत
VulDB प्रविष्टि380948 [umijs umi तक 4.6.63 GIT File Helper getFileGitIno.ts git.getFileCreateInfo अधिकार वृद्धि]
अंक20

Do you need the next level of professionalism?

Upgrade your account now!