Debian DLA-3298-1 : ruby-rack - LTS security update

high Nessus Plugin ID 170885

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-3298 advisory.

- A directory traversal vulnerability exists in rack < 2.2.0 that allows an attacker perform directory traversal vulnerability in the Rack::Directory app that is bundled with Rack which could result in information disclosure. (CVE-2020-8161)

- A reliance on cookies without validation/integrity check security vulnerability exists in rack < 2.2.3, rack < 2.1.4 that makes it is possible for an attacker to forge a secure or host-only cookie prefix.
(CVE-2020-8184)

- Aaron Patterson reports: (CVE-2022-44570, CVE-2022-44571, CVE-2022-44572)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the ruby-rack packages.

For Debian 10 buster, these problems have been fixed in version 2.0.6-3+deb10u2.

See Also

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

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

https://www.debian.org/lts/security/2023/dla-3298

https://security-tracker.debian.org/tracker/CVE-2020-8161

https://security-tracker.debian.org/tracker/CVE-2020-8184

https://security-tracker.debian.org/tracker/CVE-2022-44570

https://security-tracker.debian.org/tracker/CVE-2022-44571

https://security-tracker.debian.org/tracker/CVE-2022-44572

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

Plugin Details

Severity: High

ID: 170885

File Name: debian_DLA-3298.nasl

Version: 1.1

Type: local

Agent: unix

Published: 1/31/2023

Updated: 9/5/2023

Supported Sensors: Agentless 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.9

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

CVSS Score Source: CVE-2020-8184

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.7

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

CVSS Score Source: CVE-2020-8161

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:ruby-rack, cpe:/o:debian:debian_linux:10.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: 1/31/2023

Vulnerability Publication Date: 6/4/2020

Reference Information

CVE: CVE-2020-8161, CVE-2020-8184, CVE-2022-44570, CVE-2022-44571, CVE-2022-44572