A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
rubyzip versions before 3.4.0 contain a path traversal vulnerability in Zip::Entry#extract that fails to properly validate extraction paths using prefix comparison without trailing separators. Attackers can craft archive entries with names like ../upload_backup/owned.sh to write files outside the intended extraction directory into sibling paths sharing the destination prefix.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /geo-chen/oss/blob/main/rubyzip.md
- github.com /rubyzip/rubyzip
- github.com /rubyzip/rubyzip/blob/v3.3.1/lib/zip/entry.rb
- github.com /rubyzip/rubyzip/commit/17edfbf4423b83211b075acc23a7d8640da…
- github.com /rubyzip/rubyzip/releases/tag/v3.4.0
- www.vulncheck.com /advisories/rubyzip-before-3.4.0-path-traversal-in-zip-entr…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning