PT-2025-20315 · Nginx+10 · Nginx+10

Taiphung217

·

Published

2025-05-07

·

Updated

2026-03-04

·

CVE-2025-46727

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Rack versions prior to 2.2.14, 3.0.16, and 3.1.14
Description Rack is a modular Ruby web server interface. The Rack::QueryParser parses query strings and application/x-www-form-urlencoded bodies into Ruby data structures without imposing any limit on the number of parameters, allowing attackers to send requests with extremely large numbers of parameters. This allows an attacker to send a single request containing hundreds of thousands (or more) of parameters, which consumes excessive memory and CPU during parsing. An attacker can trigger denial of service by sending specifically crafted HTTP requests, which can cause memory exhaustion or pin CPU resources, stalling or crashing the Rack server. This results in full service disruption until the affected worker is restarted.
Recommendations To resolve the issue, update to a version of Rack that limits the number of parameters parsed, such as version 2.2.14, 3.0.16, or 3.1.14. Alternatively, use middleware to enforce a maximum query string size or parameter count. Employ a reverse proxy (such as Nginx) to limit request sizes and reject oversized query strings or bodies. Limiting request body sizes and query string lengths at the web server or CDN level is an effective mitigation.

Exploit

Fix

DoS

Allocation of Resources Without Limits

Resource Exhaustion

Weakness Enumeration

Related Identifiers

ALSA-2025:8254
BDU:2025-07426
CESA-2025_8254
CVE-2025-46727
DLA-4357-1
GHSA-GJH7-P2FX-99VX
INFSA-2025_8254
INFSA-2025_8256
MGASA-2025-0334
OESA-2025-2291
OPENSUSE-SU-2025:15067-1
OPENSUSE-SU-2025_01586-1
OPENSUSE-SU-2026:10286-1
RHSA-2025:7604
RHSA-2025:7605
RHSA-2025:8254
RHSA-2025:8256
RHSA-2025:8279
RHSA-2025:8288
RHSA-2025:8289
RHSA-2025:8290
RHSA-2025:8291
RHSA-2025:8319
RHSA-2025:8322
RHSA-2025:8323
RHSA-2025:9838
RHSA-2025_8254
RHSA-2025_8256
SUSE-SU-2025:01586-1
SUSE-SU-2025:01586-2
SUSE-SU-2025:02329-1
SUSE-SU-2025:02330-1
SUSE-SU-2025:02429-1
SUSE-SU-2025:02564-1
SUSE-SU-2025_01586-2
SUSE-SU-2025_02329-1
SUSE-SU-2025_02330-1
SUSE-SU-2025_02429-1
SUSE-SU-2025_02564-1
USN-7507-1
USN-7960-1

Affected Products

Astra Linux
Centos
Debian
Linuxmint
Nginx
Rack
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu