Advisory

GHSA-gcqq-w6gr-h9j9

Also known as: CVE-2017-5946

Summary

Directory traversal vulnerability in RubyZip

Details

The Zip::File component in the rubyzip gem before 1.2.1 for Ruby has a directory traversal vulnerability. If a site allows uploading of .zip files, an attacker can upload a malicious file that uses ../ pathname substrings to write arbitrary files to the filesystem.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-02-16 08:12 UTC

Affected packages and fixes

rubyzip

RubyGems · All systems

Affected

  • introduced 0, fixed 1.2.1 (ecosystem)

Fixed versions

1.2.1

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