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..
https://lists.debian.org/debian-lts-announce/2020/08/msg00002.html
https://lists.debian.org/debian-lts-announce/2018/08/msg00013.html