Home / mailingsPDF  

[USN-9364-1] rubyzip vulnerabilities

Posted on 02 December 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-9364-1
December 01, 2026

ruby-zip vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 16.04 LTS

Summary:

rubyzip could be made to overwrite files if it opened a specially crafted
archive.

Software Description:
- ruby-zip: Ruby module for reading and writing zip files

Details:

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)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 16.04 LTS
ruby-zip 1.1.7-1ubuntu0.1~esm1
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-9364-1
CVE-2017-5946, CVE-2018-1000544

--===============0999313869371476428==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP