SCA: security update for rack (GHSA-f7cc-57h7-qrcg)

medium Tenable Cloud Security Plugin ID 499158

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 2.2.26, 3.1.24, and 3.2.9, Rack::QueryParser uses
the quantified DEFAULT_SEP and COMMON_SEP regular expressions when splitting query strings and
application/x-www-form-urlencoded bodies, while params_hash_has_key? and the Rack 2.2 normalize_params
path use quantified expressions for bracketed parameter names. Long runs of spaces after an ampersand, or
long runs of bracket characters in a parameter name, cause Ruby's regular expression engine to allocate
approximately 48 bytes of backtracking state per input character. RACK_QUERY_PARSER_BYTESIZE_LIMIT bounds
the request size but not this amplification, and RACK_QUERY_PARSER_PARAMS_LIMIT does not prevent it
because very few parameters are required. An unauthenticated attacker can cause substantial transient
memory allocation with one request, and concurrent requests can exhaust process or container memory. This
issue is fixed in versions 2.2.26, 3.1.24, and 3.2.9. (CVE-2026-142591)

Solution

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

See Also

https://github.com/advisories/GHSA-f7cc-57h7-qrcg

Plugin Details

Severity: Medium

ID: 499158

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/4/2026

Updated: 12/4/2026

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

CVSS Score Source: CVE-2026-142591

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/3/2026

Vulnerability Publication Date: 12/2/2026

Reference Information

CVE: CVE-2026-142591

cwe: CWE-400