A vulnerability has been found in the way developers have implemented the archive extraction of files. An arbitrary file write vulnerability, that can be achieved using a specially crafted zip archive (affects other archives as well, bzip2, tar,xz, war, cpio, 7z), that holds path traversal filenames. So when the filename gets concatenated to the target extraction directory, the final path ends up outside of the target folder. Of course if an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily. This affects multiple libraries that lacks of a high level APIs that provide the archive extraction functionality. References: https://snyk.io/research/zip-slip-vulnerability
Created rubygem-rubyzip tracking bugs for this issue: Affects: fedora-all [bug 1593006]
Upstream bug: https://github.com/rubyzip/rubyzip/issues/369 The issue has not been addressed upstream yet.
*** Bug 1595625 has been marked as a duplicate of this bug. ***
This issue has been addressed in the following products: CloudForms Management Engine 5.9 Via RHSA-2018:3466 https://access.redhat.com/errata/RHSA-2018:3466