Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-45582

Quick assessment

Affected
GNU Tar
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GNU Tar是美国GNU社区的一套用于创建tar格式文件的工具。 GNU Tar 1.35及之前版本存在安全漏洞,该漏洞源于特制TAR存档中的目录遍历,可能导致文件覆盖。

CVSS 4.1 · Medium EPSS 0.49% · P40
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-45582

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

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
N/A
Source: CVE Program / CVE List V5
Vulnerability Description
GNU Tar through 1.35 allows file overwrite via directory traversal in crafted TAR archives, with a certain two-step process. First, the victim must extract an archive that contains a ../ symlink to a critical directory. Second, the victim must extract an archive that contains a critical file, specified via a relative pathname that begins with the symlink name and ends with that critical file's name. Here, the extraction follows the symlink and overwrites the critical file. This bypasses the protection mechanism of "Member name contains '..'" that would occur for a single TAR archive that attempted to specify the critical file via a ../ approach. For example, the first archive can contain "x -> ../../../../../home/victim/.ssh" and the second archive can contain x/authorized_keys. This can affect server applications that automatically extract any number of user-supplied TAR archives, and were relying on the blocking of traversal. This can also affect software installation processes in which "tar xf" is run more than once (e.g., when installing a package can automatically install two dependencies that are set up as untrusted tarballs instead of official packages). NOTE: the official GNU Tar manual has an otherwise-empty directory for each "tar xf" in its Security Rules of Thumb; however, third-party advice leads users to run "tar xf" more than once into the same directory.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
路径遍历:’../filedir’
Source: CVE Program / CVE List V5
Vulnerability Title
GNU Tar 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GNU Tar是美国GNU社区的一套用于创建tar格式文件的工具。 GNU Tar 1.35及之前版本存在安全漏洞,该漏洞源于特制TAR存档中的目录遍历,可能导致文件覆盖。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
GNU Tar 0 ~ 1.35 -

II. Public POCs for CVE-2025-45582

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Success marker: VULNERABLE: two-stage symlink traversal overwrote /etc/critical_file (content: ATTACKER_OWNED, original was PROOF_98cc20d5a6785338)
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 4258 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-45582

请登录查看更多情报信息。

Other References for CVE-2025-45582 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-45582

No comments yet


Leave a comment