漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory
Vulnerability Description
Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory. _make_special_file() passes the tar header's linkname to link() without validating it against absolute paths or .. segments, creating a hardlink that shares the victim file's inode. A subsequent write through the extracted name modifies the victim file, and the post-extraction chmod, chown, and utime block in _extract_file() (guarded only against symlinks via -l) applies the tar header's mode, owner, and timestamps to the shared inode during extraction alone.
CVSS Information
N/A
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Vulnerability Title
Pear Archive_Tar 安全漏洞
Vulnerability Description
Pear Archive_Tar是PEAR团队的一个基于Php的可以对tar包进行创建、提取等操作的软件。 Pear Archive_Tar 3.08之前版本存在安全漏洞,该漏洞源于_make_special_file()函数将tar标头的linkname传递给link()时未验证绝对路径或..段,创建与受害者文件共享inode的硬链接,后续通过提取名称写入可修改受害者文件,且提取后的chmod、chown和utime块仅通过-l检查符号链接,导致在提取期间将tar标头的模式、所有者和时间戳应用于共享in
CVSS Information
N/A
Vulnerability Type
N/A