CVE-2018-1000544
CRITICAL 9.8CVSS 3.1Rubyzip gem contains a Directory Traversal vulnerability in zip file component
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..
- Published
- 26 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-434CWE-59
- Also known as
- GHSA-vqcq-mrmw-mcmg
- Sources
- NVDJSONOSV GHSA-vqcq-mrmw-mcmgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyzip_project | rubyzipcpe:2.3:a:rubyzip_project:rubyzip:*:*:*:*:*:*:*:* |
<= 1.2.1 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | redhat | cloudformscpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:* |
= 4.6 | |
| OSV | RubyGems | rubyzip | < 1.2.2 | 1.2.2 |
References
- https://access.redhat.com/errata/RHSA-2018:3466 · Third Party Advisory, WEB
- https://github.com/rubyzip/rubyzip/issues/369 · Exploit, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2018/08/msg00013.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2020/08/msg00002.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000544 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2018-1000544.yml · WEB
- https://github.com/rubyzip/rubyzip · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 26 Jun 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Sep 2018)