CVE-2018-1000544

NameCVE-2018-1000544
Descriptionrubyzip gem rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability in Zip::File component that can result in write arbitrary files to the filesystem. This attack appear to be exploitable via If a site allows uploading of .zip files , an attacker can upload a malicious file that contains symlinks or files with absolute pathnames "../" to write arbitrary files to the filesystem..
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1467-1, DLA-2307-1
Debian Bugs902720

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-zip (PTS)bullseye2.0.0-2fixed
sid, trixie, bookworm2.3.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-zipsourcejessie1.1.6-1+deb8u2DLA-1467-1
ruby-zipsourcestretch1.2.0-1.1+deb9u1DLA-2307-1
ruby-zipsource(unstable)1.2.2-1902720

Notes

https://github.com/rubyzip/rubyzip/issues/369
Part of fixes:
https://github.com/rubyzip/rubyzip/commit/6e0d23178a39f1b9ee0debc4fffb6d90994c6955
https://github.com/rubyzip/rubyzip/commit/8e78311d670ba70476fb46062c988849a82d1e02
And further followup fixes:
https://github.com/rubyzip/rubyzip/pull/376

Search for package or bug name: Reporting problems