CVE-2023-40581

CVSS 3.1 Score 7.8 of 10 (high)

Details

Published Sep 25, 2023
Updated: Sep 27, 2023
CWE ID 78

Summary

CVE-2023-40581 is a new vulnerability affecting yt-dlp, a popular YouTube downloader. This issue arises from the `--exec` flag's ability to execute shell commands with output template expansion, which can lead to remote code execution on Windows due to improper escaping. The vulnerability exists regardless of the command line interface (cmd or PowerShell) used. It was introduced in version 2021.04.11 and is specific to yt-dlp on Windows. To mitigate the risk, users are advised to upgrade to version 2023.09.24, which addresses the escaping issue. Windows users unable to upgrade should avoid using output template expansion in `--exec` and verify the fields used do not contain special characters like ", |, or &. Additionally, users can opt to write the info json and load the fields from it instead of using `--exec`.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share

Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2023-40581 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more with Recorded Future
  • Gain complete coverage of your cyber, third party, and physical attack surface
  • Proactively mitigate threats before they turn into costly attacks
  • Make fast, effective, data-driven decisions