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.
{
"github_reviewed": true,
"nvd_published_at": null,
"severity": "CRITICAL",
"cwe_ids": [
"CWE-22"
],
"github_reviewed_at": "2020-06-16T21:36:51Z"
}