Debian DLA-2307-1 : ruby-zip security update

critical Nessus Plugin ID 139250

Synopsis

The remote Debian host is missing a security update.

Description

rubyzip gem 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..

For Debian 9 stretch, this problem has been fixed in version 1.2.0-1.1+deb9u1.

We recommend that you upgrade your ruby-zip packages.

For the detailed security status of ruby-zip please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/ruby-zip

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected ruby-zip package.

See Also

https://lists.debian.org/debian-lts-announce/2020/08/msg00002.html

https://packages.debian.org/source/stretch/ruby-zip

https://security-tracker.debian.org/tracker/source-package/ruby-zip

Plugin Details

Severity: Critical

ID: 139250

File Name: debian_DLA-2307.nasl

Version: 1.3

Type: local

Agent: unix

Published: 8/3/2020

Updated: 2/27/2024

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2018-1000544

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:ruby-zip, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/1/2020

Vulnerability Publication Date: 6/26/2018

Reference Information

CVE: CVE-2018-1000544