Debian dla-4505 : ruby-rack - security update

high Nessus Plugin ID 303309

Synopsis

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

Description

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

- ----------------------------------------------------------------------- Debian LTS Advisory DLA-4505-1 [email protected] https://www.debian.org/lts/security/ Utkarsh Gupta March 23, 2026 https://wiki.debian.org/LTS
- -----------------------------------------------------------------------

Package : ruby-rack Version : 2.1.4-3+deb11u5 CVE ID : CVE-2026-22860 CVE-2026-25500 Debian Bug : 1128479 1128480

Two vulnerabilities were discovered in ruby-rack, a modular Ruby webserver interface.

CVE-2026-22860

Rack::Directory's path check used a string prefix match on the expanded path. A request like /../root_example/ could escape the configured root if the target path started with the root string, allowing directory listing outside the intended root.

CVE-2026-25500

Rack::Directory generated an HTML directory index where each file entry was rendered as a clickable link. If a file existed on disk whose basename started with the javascript: scheme, the generated index contained an anchor whose href executed JavaScript in the browser, resulting in a stored XSS vulnerability.

For Debian 11 bullseye, these problems have been fixed in version 2.1.4-3+deb11u5.

We recommend that you upgrade your ruby-rack packages.

For the detailed security status of ruby-rack please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/ruby-rack

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

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.

See Also

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

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

https://security-tracker.debian.org/tracker/CVE-2026-22860

https://security-tracker.debian.org/tracker/CVE-2026-25500

Plugin Details

Severity: High

ID: 303309

File Name: debian_DLA-4505.nasl

Version: 1.1

Type: local

Agent: unix

Published: 3/22/2026

Updated: 3/22/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2026-22860

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

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

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: 3/23/2026

Vulnerability Publication Date: 2/17/2026

Reference Information

CVE: CVE-2026-22860, CVE-2026-25500