<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Rubyzip - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/rubyzip/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 03 Sep 2026 19:23:10 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/rubyzip/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Path Traversal Vulnerability in rubyzip</title><link>https://feed.craftedsignal.io/briefs/2026-09-rubyzip-path-traversal/</link><pubDate>Thu, 03 Sep 2026 19:23:10 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-rubyzip-path-traversal/</guid><description>rubyzip versions before 3.4.0 are vulnerable to path traversal within the Zip::Entry#extract method, allowing attackers to write files outside the intended directory via malicious archive entries.</description><content:encoded><![CDATA[<p>rubyzip versions prior to 3.4.0 contain a critical path traversal vulnerability in the Zip::Entry#extract method. The library fails to perform robust validation when checking destination paths, specifically failing to account for cases where prefix comparison is performed without trailing directory separators. An attacker can create a specially crafted ZIP archive containing entries with path traversal sequences such as ../ in the filename. When an application using an affected version of rubyzip extracts such an archive, the library may incorrectly resolve the target path to a location outside the designated extraction directory. By targeting sensitive directories, an attacker could potentially overwrite configuration files, inject scripts into startup folders, or gain arbitrary code execution depending on the application's environment and permissions.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for unauthorized file writes on the host system. Depending on the target application's use case, this can lead to remote code execution, persistence, or configuration tampering. The vulnerability affects any application or service utilizing the rubyzip library for processing untrusted archive uploads.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Update the rubyzip dependency to version 3.4.0 or later across all projects.</li>
<li>Audit applications utilizing rubyzip for file extraction to identify if archives are processed from untrusted user inputs.</li>
<li>Implement file path validation at the application level to ensure extracted file paths reside within the expected destination directory.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>