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

high Nessus Plugin ID 174418

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-3392 advisory.

- A DoS vulnerability exists in Rack <v3.0.4.2, <v2.2.6.3, <v2.1.4.3 and <v2.0.9.3 within in the Multipart MIME parsing code in which could allow an attacker to craft requests that can be abuse to cause multipart parsing to take longer than expected. (CVE-2023-27530)

- ooooooo_q reports: Carefully crafted input can cause header parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector.
Any applications that parse headers using Rack (virtually all Rails applications) are impacted. (CVE-2023-27539)

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+deb10u3.

See Also

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

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

https://security-tracker.debian.org/tracker/CVE-2023-27530

https://security-tracker.debian.org/tracker/CVE-2023-27539

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

Plugin Details

Severity: High

ID: 174418

File Name: debian_DLA-3392.nasl

Version: 1.0

Type: local

Agent: unix

Published: 4/17/2023

Updated: 4/17/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2023-27530

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.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: 4/17/2023

Vulnerability Publication Date: 3/6/2023

Reference Information

CVE: CVE-2023-27530, CVE-2023-27539