USN-9364-1: rubyzip vulnerabilities

Published Dec 1, 2026
·
Updated

It was discovered that rubyzip did not properly validate file paths in ZIP archives. If a user or automated system were tricked into extracting a specially crafted ZIP archive, an attacker could possibly use this issue to write arbitrary files outside the destination directory. (CVE-2017-5946) It was discovered that rubyzip did not properly handle symbolic links and absolute paths in ZIP archives. If a user or automated system were tricked into extracting a specially crafted ZIP archive, an attacker could possibly use this issue to write arbitrary files outside the destination directory. (CVE-2018-1000544)

Affected Software

2 affected componentsFixes available
All of the following
ubuntu/ruby-zip<1.1.7-1ubuntu0.1~esm1
1.1.7-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/ruby-zip to a version that resolves this vulnerability.

    Fixed in 1.1.7-1ubuntu0.1~esm1

Event History

Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is exposed to these issues?

Users and automated systems that extract ZIP archives with rubyzip are exposed when they process a specially crafted archive. Systems that do not extract untrusted ZIP files are not described as affected by the available information.

2

What does an attacker need to exploit the vulnerabilities?

An attacker needs to cause a user or automated system to extract a specially crafted ZIP archive. The archive can contain unsafe file paths, symbolic links, or absolute paths that lead to writes outside the intended extraction directory.

3

What is the potential impact of successful exploitation?

Successful exploitation could allow arbitrary files to be written outside the destination directory used for ZIP extraction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203