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

目标: 1000 元 · 已筹: 1000

100.0%

CVE-2025-4517— Python 安全漏洞

CVSS 9.4 · Critical EPSS 0.40% · P61
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2025-4517 基础信息

漏洞信息

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

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

Vulnerability Title
Arbitrary writes via tarfile realpath overflow
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data". You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of "data" or "tar". See the tarfile extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter  for more information. Note that for Python 3.14 or later the default value of filter= changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected. Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links.
来源: 美国国家漏洞数据库 NVD
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
Python 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Python是Python基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。 Python 3.12及之后版本存在安全漏洞,该漏洞源于提取过滤器允许任意文件系统写入提取目录外。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

神龙十问 — AI 深度分析

十问解析:根本原因、利用方式、修复建议、紧迫性。摘要免费,完整版需登录。

受影响产品

厂商产品影响版本CPE订阅
Python Software FoundationCPython 0 ~ 3.10.18 -

二、漏洞 CVE-2025-4517 的公开POC

#POC 描述源链接神龙链接
1CVE‑2025‑4517 Proof‑of‑Concept Scripthttps://github.com/AnimePrincess420/CVE-2025-4517-PoCPOC详情
2CVE-2025-4517 (CVSS 9.4 – Critical) A vulnerability in Python's `tarfile` https://github.com/StealthByte0/CVE-2025-4517-pocPOC详情
3Python tarfile data filter bypass via PATH_MAX overflow in os.path.realpath() - CVE-2025-4517 / CVE-2025-4330https://github.com/0xDTC/CVE-2025-4517-tarfile-PATH_MAX-bypassPOC详情
4Privilege Escalation script for Wingdatahttps://github.com/AzureADTrent/CVE-2025-4517-POC-HTB-WingDataPOC详情
5A high-performance Python toolkit to automate the CVE-2025-4517 PATH_MAX bypass exploit. Specifically tuned for the WingData HTB challenge to achieve arbitrary file writes and root persistencehttps://github.com/Rohitberiwala/PyPath-Escape-CVE-2025-4517-Exploit-ResearchPOC详情
6PoC and explanation for CVE-2025-4517 used in a CTF I was playing.https://github.com/kerburenthusiasm/CVE-2025-4517-PoCPOC详情
7Nonehttps://github.com/ben-slates/CVE-2025-4517-POC-HTB-WINGDATAPOC详情
8Path traversal vulnerability in Python's tarfile.https://github.com/estebanzarate/CVE-2025-4517-Python-tarfile-filter-data-Bypass-PoCPOC详情
9Nonehttps://github.com/ben-slates/CVE-2025-4517-POCPOC详情
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2025-4517 的情报信息

登录查看更多情报信息。

同批安全公告 · Python Software Foundation · 2025-06-03 · 共 5 条

CVE-2025-41387.5 HIGHPython 安全漏洞
CVE-2025-43307.5 HIGHPython 安全漏洞
CVE-2025-44357.5 HIGHCPython 安全漏洞
CVE-2024-127185.3 MEDIUMPython 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2025-4517

暂无评论


发表评论