目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2024-38519— yt-dlp 安全漏洞

一分钟漏洞结论

影响对象
yt-dlp yt-dlp
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

yt-dlp是基于现在不活动的youtube-dlc 的youtube-dl分支。 yt-dlp 2024.07.01之前版本存在安全漏洞,该漏洞源于不限制下载文件的扩展名,可能导致在下载文件夹中创建任意文件名以及在Windows上进行路径遍历。

CVSS 7.8 · High EPSS 0.33% · P25
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-38519 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
yt-dlp and youtube-dl vulnerable to file system modification and RCE through improper file-extension sanitization
来源: CVE Program / CVE List V5
Vulnerability Description
`yt-dlp` and `youtube-dl` are command-line audio/video downloaders. Prior to the fixed versions, `yt-dlp` and `youtube-dl` do not limit the extensions of downloaded files, which could lead to arbitrary filenames being created in the download folder (and path traversal on Windows). Since `yt-dlp` and `youtube-dl` also read config from the working directory (and on Windows executables will be executed from the `yt-dlp` or `youtube-dl` directory), this could lead to arbitrary code being executed. `yt-dlp` version 2024.07.01 fixes this issue by whitelisting the allowed extensions. `youtube-dl` fixes this issue in commit `d42a222` on the `master` branch and in nightly builds tagged 2024-07-03 or later. This might mean some very uncommon extensions might not get downloaded, however it will also limit the possible exploitation surface. In addition to upgrading, have `.%(ext)s` at the end of the output template and make sure the user trusts the websites that they are downloading from. Also, make sure to never download to a directory within PATH or other sensitive locations like one's user directory, `system32`, or other binaries locations. For users who are not able to upgrade, keep the default output template (`-o "%(title)s [%(id)s].%(ext)s`); make sure the extension of the media to download is a common video/audio/sub/... one; try to avoid the generic extractor; and/or use `--ignore-config --config-location ...` to not load config from common locations.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
在范围间的资源转移不正确
来源: CVE Program / CVE List V5
Vulnerability Title
yt-dlp 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
yt-dlp是基于现在不活动的youtube-dlc 的youtube-dl分支。 yt-dlp 2024.07.01之前版本存在安全漏洞,该漏洞源于不限制下载文件的扩展名,可能导致在下载文件夹中创建任意文件名以及在Windows上进行路径遍历。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
yt-dlp yt-dlp < 2024.07.01 ~ 2024.07.01 -
ytdl-org youtube-dl >= 2015.01.25 ~ 2021.12.17 -

二、漏洞 CVE-2024-38519 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 已实测靶场 高级
Qwen3.6-35B-A3B · 5491 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2024-38519 的情报信息

登录查看更多情报信息。

CVE-2024-38519 补丁与修复 (3)

CVE-2024-38519 厂商安全公告 (2)

CVE-2024-38519 其他参考 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2024-38519

暂无评论


发表评论