SCA: security update for rack (GHSA-q2ww-5357-x388)

medium Tenable Self-Hosted Container Security Plugin ID 439698

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Files#fail
sets the Content-Length response header using String#size instead of String#bytesize. When the response
body contains multibyte UTF-8 characters, the declared Content-Length is smaller than the number of bytes
actually sent on the wire. Because Rack::Files reflects the requested path in 404 responses, an attacker
can trigger this mismatch by requesting a non-existent path containing percent-encoded UTF-8 characters.
This results in incorrect HTTP response framing and may cause response desynchronization in deployments
that rely on the incorrect Content-Length value. This issue has been patched in versions 2.2.23, 3.1.21,
and 3.2.6. (CVE-2026-34831)

Solution

Update the rack library and its related packages to version 2.2.23 or later.

See Also

https://github.com/advisories/GHSA-q2ww-5357-x388

Plugin Details

Severity: Medium

ID: 439698

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/3/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.71

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-34831

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/2/2026

Vulnerability Publication Date: 4/2/2026

Reference Information

CVE: CVE-2026-34831