← Back
CVE-2023-35934
Information Disclosure in yt-dlp (CVE-2023-35934)
Summary
vulnerability in yt-dlp (CVE-2023-35934). Confidential information can be exposed externally. Exploitable via ``curl``. Mitigation: upgrade to `2023.7.06` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2023-35934** has been found in yt-dlp.
Attackers can target a specific entry point like ``curl`` over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: ?/10.
What to do: upgrade yt-dlp to **2023.7.06** or later.
If unsure, ask your IT team or search "yt-dlp CVE-2023-35934" on the vendor's site.
CVE-2023-35934 (yt-dlp) — CWE-200 /
Attack vector: remote (network-reachable) / unauthenticated
Attack surface: `curl` / `httpie` / `Cookie` / `axel`
Patched: `2023.7.06` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**information disclosure** (CWE-200) exists in yt-dlp. Attackers reach the vulnerable code path via ``curl`` without authentication.
📍 Affected scope
yt-dlp — . Attack surface: `curl` / `httpie` / `Cookie` / `axel`.
🔥 Severity
Severity: ?. Confidential information can be exposed externally
🔧 How to fix
Update to **2023.7.06**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'yt-dlp' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'yt-dlp' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `yt-dlp` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade yt-dlp to 2023.7.06ステージング環境で 2023.7.06 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
PyPI
yt-dlp
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2023.7.06"}]}]
References
- advisory https://nvd.nist.gov/vuln/detail/CVE-2023-35934
- advisory https://github.com/advisories/GHSA-v8mc-9377-rwjj
- package https://github.com/yt-dlp/yt-dlp
- package https://pypi.org/project/yt-dlp
- web https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj
- web https://github.com/yt-dlp/yt-dlp/commit/1ceb657bdd254ad961489e5060f2ccc7d556b729
- web https://github.com/yt-dlp/yt-dlp/commit/3121512228487c9c690d3d39bfd2579addf96e07
- web https://github.com/yt-dlp/yt-dlp/commit/f8b4bcc0a791274223723488bfbfc23ea3276641
- web https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2023.07.06.185519
- web https://github.com/yt-dlp/yt-dlp/releases/tag/2023.07.06
- web https://lists.fedoraproject.org/archives/list/[email protected]/message/5X6YT6AQE5FHM5VTQLKKJXSYBLLJF26W
- web https://lists.fedoraproject.org/archives/list/[email protected]/message/HEOKCGVONGHR2SYUIXU33A4MKXZBDP6L
- web https://lists.fedoraproject.org/archives/list/[email protected]/message/IM44RJL2MR2WG3ZY354C5IUEEZUJGEVA
- web https://lists.fedoraproject.org/archives/list/[email protected]/message/M7E7CQ5S5KMZHAMCNU7V7KYNBVCPLBHG