CVE-2018-1000544
Rubyzip gem contains a Directory Traversal vulnerability in zip file component
Auswirkung
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.. This is similar to CVE-2017-5946 which was patched in 1.2.1 but the fix in that case was incomplete.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rubygems | rubyzip | <= 1.2.1 | 1.2.2 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Debian | Debian Linux | Versionen 8.0, 9.0 |
| Red Hat | Cloudforms | Version 4.6 |
| Rubyzip Project | Rubyzip | bis einschließlich 1.2.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://access.redhat.com/errata/RHSA-2018:3466
- https://github.com/rubyzip/rubyzip/issues/369
- https://lists.debian.org/debian-lts-announce/2018/08/msg00013.html
- https://lists.debian.org/debian-lts-announce/2020/08/msg00002.html
- https://github.com/advisories/GHSA-vqcq-mrmw-mcmg
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000544
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2018-1000544.yml