Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about OS Command Injection vulnerabilities in an interactive lesson.
Start learningUpgrade yt-dlp
to version 2023.9.24 or higher.
yt-dlp is an A youtube-dl fork with additional features and patches
Affected versions of this package are vulnerable to OS Command Injection due to improper escaping of special characters in the cmd
shell used by Python's subprocess
, through the --exec
flag.
Note:
This is only exploitable if yt-dlp
is used on Windows, regardless of whether it's run from cmd
or PowerShell
. .
For Windows users who are not able to upgrade:
Avoid using any output template expansion in --exec
other than {} (filepath).
If expansion in --exec
is needed, verify the fields you are using do not contain ", | or &.
Instead of using --exec
, write the info json and load the fields from it instead.