Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rubyzip
  4. ›
  5. CVE-2018-1000544

CVE-2018-1000544: Path Traversal

June 26, 2018 (updated March 13, 2019)

The gem rubyzip 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-1000544

Code Behaviors & Features

Detect and mitigate CVE-2018-1000544 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.2.1

Fixed versions

  • 1.2.2

Solution

Upgrade to version 1.2.2 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type
  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

gem/rubyzip/CVE-2018-1000544.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:24 +0000.