Debian DSA-3801-1 : ruby-zip - security update

critical Nessus Plugin ID 97529

Synopsis

The remote Debian host is missing a security-related update.

Description

It was discovered that ruby-zip, 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.

Solution

Upgrade the ruby-zip packages.

For the stable distribution (jessie), this problem has been fixed in version 1.1.6-1+deb8u1.

For the upcoming stable distribution (stretch), this problem has been fixed in version 1.2.0-1.1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856269

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

https://www.debian.org/security/2017/dsa-3801

Plugin Details

Severity: Critical

ID: 97529

File Name: debian_DSA-3801.nasl

Version: 3.6

Type: local

Agent: unix

Published: 3/6/2017

Updated: 1/11/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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:ruby-zip, cpe:/o:debian:debian_linux:8.0

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/4/2017

Reference Information

CVE: CVE-2017-5946

DSA: 3801