الرئيسية
الرئيسية
الاتجاهات
الاتجاهات
الثغرات
الثغرات
الأخبار
الأخبار
الباحثون
الباحثون
لماذا dbugs؟
لماذا dbugs؟
الإعدادات

Grub4K

#36141من 61,494
8.3إجمالي CVSS
الثغرات · 1
PT-2023-5663
2023-09-25
8.3
CVE-2023-40581
Yt-Dlp
Yt-Dlp
The issue arises from the improper escaping of special characters in shell commands executed through the `--exec` flag, allowing for remote code execution if used with maliciously crafted remote data. This vulnerability only impacts yt-dlp on Windows and is present regardless of whether yt-dlp is run from cmd or PowerShell. The estimated number of potentially affected devices is not specified. The `--exec` flag allows output template expansion in its argument, enabling metadata values to be used in shell commands. However, the escaping used for `cmd` (the shell used by Python's `subprocess` on Windows) does not properly escape special characters. The metadata fields can be combined with the `%q` conversion, which is intended to quote/escape these values so they can be safely passed to the shell.