Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
tarfile extraction filter bypass allows creation of directories outside the destination
Vulnerability Description
The tarfile module's tar and data
extraction filters created directories outside the destination for
members whose name leaves the destination and returns to it, such as ../evil/../dest/sub/file. The containment check used the resolved path, but intermediate directories were created from the name as given.
Only
empty directories are created outside the destination. Member contents
are still extracted inside it. To return to the destination the member's
name must contain the destination directory's own final component, so
extraction into a secure randomised directory is not affected.
This affects POSIX platforms only. On Windows, .. components are collapsed before the path reaches the filesystem, so the directories outside the destination are never created.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
Vulnerability Type
N/A
Vulnerability Title
Python 安全漏洞
Vulnerability Description
Python是Python基金会开源的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。 Python 3.16.0之前版本存在安全漏洞,该漏洞源于tarfile模块的tar和数据提取过滤器对成员名称的包含检查使用了解析路径,但中间目录按原始名称创建,可能导致在目标目录外创建空目录。
CVSS Information
N/A
Vulnerability Type
N/A