Name | CVE-2018-1000544 |
Description | rubyzip 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.. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1467-1, DLA-2307-1 |
Debian Bugs | 902720 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ruby-zip (PTS) | jessie, jessie (lts) | 1.1.6-1+deb8u2 | fixed |
| stretch (security), stretch (lts), stretch | 1.2.0-1.1+deb9u1 | fixed |
| buster | 1.2.2-1 | fixed |
| bullseye | 2.0.0-2 | fixed |
| sid, trixie, bookworm | 2.3.2-1 | fixed |
The information below is based on the following data on fixed versions.
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