Debian DLA-846-1 : libzip-ruby security update

critical Nessus Plugin ID 97559

Synopsis

The remote Debian host is missing a security update.

Description

It was discovered that libzip-ruby, a Ruby module for reading and writing zip files, is prone to a directory traversal vulnerability. An attacker can take advantage of this flaw to overwrite arbitrary files during archive extraction via a .. (dot dot) in an extracted filename.

For Debian 7 'Wheezy', these problems have been fixed in version 0.9.4-1+deb7u1.

We recommend that you upgrade your libzip-ruby packages.

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 libzip-ruby1.8, and libzip-ruby1.9.1 packages.

See Also

https://lists.debian.org/debian-lts-announce/2017/03/msg00003.html

https://packages.debian.org/source/wheezy/libzip-ruby

Plugin Details

Severity: Critical

ID: 97559

File Name: debian_DLA-846.nasl

Version: 3.5

Type: local

Agent: unix

Published: 3/7/2017

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libzip-ruby1.8, cpe:/o:debian:debian_linux:7.0, p-cpe:/a:debian:debian_linux:libzip-ruby1.9.1

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/6/2017

Reference Information

CVE: CVE-2017-5946