Debian DLA-2216-1 : ruby-rack security update

high Nessus Plugin ID 136832

Synopsis

The remote Debian host is missing a security update.

Description

There was a possible directory traversal vulnerability in the Rack::Directory app that is bundled with Rack.

If certain directories exist in a director that is managed by `Rack::Directory`, an attacker could, using this vulnerability, read the contents of files on the server that were outside of the root specified in the Rack::Directory initializer.

For Debian 8 'Jessie', this problem has been fixed in version 1.5.2-3+deb8u3.

We recommend that you upgrade your ruby-rack 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 ruby-rack package.

See Also

https://lists.debian.org/debian-lts-announce/2020/05/msg00019.html

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

Plugin Details

Severity: High

ID: 136832

File Name: debian_DLA-2216.nasl

Version: 1.5

Type: local

Agent: unix

Published: 5/26/2020

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2020-8161

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.5

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:8.0, p-cpe:/a:debian:debian_linux:ruby-rack

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/22/2020

Vulnerability Publication Date: 7/2/2020

Reference Information

CVE: CVE-2020-8161