Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2023-40581
yt-dlp project yt-dlp

Puan7.8 Yüksek
CVSS 3.1
İstismar olasılığı (EPSS)1.4%
önümüzdeki 30 gün içinde
KategoriUzaktan kod çalıştırma ve enjeksiyon
Yayımlanma25 Eylül 2023
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık cihaza yerel erişimle, oturum açmadan, kullanıcının bir bağlantıya tıklaması ya da dosya açması gibi bir etkileşimle istismar edilebilir.

Başarılı bir saldırıda ciddi etki: gizli bilgilerin okunması, verilerin değiştirilmesi, sistemin çökertilmesi ya da kullanılamaz hale gelmesi.

Açık türü: İşletim sistemi komut enjeksiyonu.

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

yt-dlp is a youtube-dl fork with additional features and fixes. yt-dlp allows the user to provide shell command lines to be executed at various stages in its download steps through the `--exec` flag. This flag allows output template expansion in its argument, so that metadata values may be used in the shell commands. 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. However, the escaping used for `cmd` (the shell used by Python's `subprocess` on Windows) does not properly escape special characters, which can allow for remote code execution if `--exec` is used directly with maliciously crafted remote data. This vulnerability only impacts `yt-dlp` on Windows, and the vulnerability is present regardless of whether `yt-dlp` is run from `cmd` or from `PowerShell`. Support for output template expansion in `--exec`, along with this vulnerable behavior, was added to `yt-dlp` in version 2021.04.11. yt-dlp version 2023.09.24 fixes this issue by properly escaping each special character. `\n` will be replaced by `\r` as no way of escaping it has been found. It is recommended to upgrade yt-dlp to version 2023.09.24 as soon as possible. Also, always be careful when using --exec, because while this specific vulnerability has been patched, using unvalidated input in shell commands is inherently dangerous. For Windows users who are not able to upgrade: 1. Avoid using any output template expansion in --exec other than {} (filepath). 2. If expansion in --exec is needed, verify the fields you are using do not contain ", | or &. 3. Instead of using --exec, write the info json and load the fields from it instead.

CVSS: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Açık türü: CWE-78 – İşletim sistemi komut enjeksiyonu

Etkilenen ürünler

ÜreticiÜrünSürümler
yt-dlp projectyt-dlp>=2021.04.11 <2023.09.24

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-56481 Düşük 3.5
    HCL Telco Observability is affected by an Improper Input Validation vulnerability in its UI and API, which could allow a remote attacker to submit crafted field values, enabling the injection of malicious input, query…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138423 Düşük 2
    A flaw has been found in youseries UReport up to 2.2.9. Affected is the function convertJson of the file ureport2-console/src/main/java/com/bstek/ureport/console/html/HtmlPreviewServletAction.java of the component Html…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138422 Düşük 2
    A vulnerability was detected in youseries UReport up to 2.2.9. This impacts an unknown function of the file html-preview.html of the component HTML Preview. Performing a manipulation of the argument _u results in HTML…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138421 Düşük 2
    A security vulnerability has been detected in youseries UReport up to 2.2.9. This affects the function saveReportFile of the file…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138420 Düşük 2
    A weakness has been identified in youseries UReport up to 2.2.9. The impacted element is the function buildExceptionMessage of the file…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138419 Düşük 2
    A security flaw has been discovered in youseries UReport up to 2.2.9. The affected element is the function buildTitle of the file HtmlPreviewServletAction.java of the component HTML Preview. The manipulation of the…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026