{"id":66056,"date":"2025-07-11T22:32:07","date_gmt":"2025-07-11T19:02:07","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-45582-apache-gnu-tar-directory-traversal-overwrite-vulnerability\/"},"modified":"2025-07-11T22:32:07","modified_gmt":"2025-07-11T19:02:07","slug":"cve-2025-45582-apache-gnu-tar-directory-traversal-overwrite-vulnerability","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-45582-apache-gnu-tar-directory-traversal-overwrite-vulnerability\/","title":{"rendered":"CVE-2025-45582 &#8211; Apache GNU Tar Directory Traversal Overwrite Vulnerability"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-45582<br \/>\n<br \/>\n<strong>Published : <\/strong> July 11, 2025, 5:15 p.m. | 59\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>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&#8217;s name. Here, the extraction follows the symlink and overwrites the critical file. This bypasses the protection mechanism of &#8220;Member name contains &#8216;..'&#8221; 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 &#8220;x -&gt; ..\/..\/..\/..\/..\/home\/victim\/.ssh&#8221; 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.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 4.1 | MEDIUM<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-45582 Published : July 11, 2025, 5:15 p.m. | 59\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-66056","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/66056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=66056"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/66056\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=66056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=66056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=66056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}