Advisory

GHSA-vqcq-mrmw-mcmg

Also known as: CVE-2018-1000544

Summary

Rubyzip gem contains a Directory Traversal vulnerability in zip file component

Details

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

This is similar to CVE-2017-5946 which was patched in 1.2.1 but the fix in that case was incomplete.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2018-09-06 03:27 UTC
Modified
2024-02-16 08:10 UTC

Affected packages and fixes

rubyzip

RubyGems · All systems

Affected

  • introduced 0, fixed 1.2.2 (ecosystem)

Fixed versions

1.2.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences