PT-2026-102445 · Npm · Shell-Quote
CVSS v4.0
9.2
حرجة
| المتجه | AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
shell-quote versions prior to 1.11.0
Description
The
quote() function emits a { comment } token starting with #, which comments out the remainder of the shell line, including opening quotes of subsequent string tokens. If a subsequent string contains a line terminator (such as , r, U+2028, or U+2029), the comment is terminated, and the remaining part of the string is executed as shell input. Additionally, the parse() function generates a comment token when a # character appears in the middle of a word. This can lead to issues when callers combine the output of parse() with other untrusted strings.Recommendations
Update shell-quote to version 1.11.0.
استغلال
إصلاح
OS Command Injection
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾
تصنيف نقاط الضعف
المعرّفات ذات الصلة
المنتجات المتأثرة
Shell-Quote