Visit Rails NES Home Page
Rack 2.2 Release Notes
14 versions
Changelog and Release Notes for the NES version of Rack 2.2
November 2026
2.2.26.12
Released Nov 25, 2026Security Fixes
- CVE-2026-132825 - Hardened
Rack::MethodOverrideagainst a heap overflow in Ruby'sString#upcase. Overlong_methodparameters andX-HTTP-Method-Overrideheaders are now ignored instead of being upcased. This closes one path through Rack. The vulnerability itself is in Ruby and is not fixed by this release.
2.2.26.11
Released Nov 23, 2026Security Fixes
- GHSA-f7cc-57h7-qrcg -
Rack::QueryParserseparator pattern allocated about 50 bytes per space after&, and nested parameter name splitting about 50 bytes per bracket, allowing denial of service via memory amplification. - GHSA-frgv-948x-h96g - Corrected an incomplete fix for CVE-2026-26962.
Rack::Multipart::Parserdid not unfold folded multipart headers, preserving CRLF in parsed filenames and parameter names. - GHSA-r243-pfwh-7rpx - Multipart boundary was extracted by substring match rather than RFC 9110 parameter parsing, allowing parser differentials and WAF bypass.
- GHSA-mhj6-xc86-54m8 -
Rack::Directorylisted directories outside the root when..followed a symbolic link, exposing file metadata. - GHSA-58mf-c3jj-277p - Hardening against the Rack 3 charset CPU-exhaustion issue; multipart parser no longer searches the load path for unknown part
charsetvalues.
2.2.25.10
Released Nov 6, 2026Security Fixes
- CVE-2026-125111 - Multipart parser retains parsed data in its scan buffer, allowing denial of service via memory exhaustion.
- CVE-2026-125110 -
Rack::Staticheader_rulesbypass via unnormalized dot segments in the request path. - CVE-2026-125109 -
Rack::Request#host_with_portand#base_urlreturn an invalidHostverbatim, enabling URL and allowlist bypass. - CVE-2026-125108 - Multipart boundary guard skips a leading empty or quoted
boundaryparameter, allowing parser differentials and WAF bypass.
October 2026
2.2.23.12
Released Oct 29, 2026Notes
- Added support for Ruby 4.0.
Security Fixes
- CVE-2026-34835 - Corrected an incomplete fix for
Rack::Requestaccepting invalid Host characters, enabling host allowlist bypass.
April 2026
2.2.23.10
Released Apr 14, 2026Security Fixes
- CVE-2026-34835 -
Rack::Requestaccepts invalid Host characters, enabling host allowlist bypass. - CVE-2026-34831 - Content-Length mismatch in
Rack::Fileserror responses. - CVE-2026-34830 -
Rack::Sendfileheader-basedX-Accel-Mappingregex injection enables unauthorizedX-Accel-Redirect. - CVE-2026-34829 - Multipart parsing without
Content-Lengthheader allows unbounded chunked file uploads. - CVE-2026-34826 - Multipart byte range processing allows denial of service via excessive overlapping ranges.
- CVE-2026-34786 -
Rack::Staticheader_rulesbypass via URL-encoded path mismatch. - CVE-2026-34785 -
Rack::Staticprefix matching can expose unintended files under the static root. - CVE-2026-34763 - Root directory disclosure via unescaped regex interpolation in
Rack::Directory. - CVE-2026-34230 - Avoid O(n^2) algorithm in
Rack::Utils.select_best_encodingwhich could lead to denial of service. - CVE-2026-32762 - Forwarded header semicolon injection enables Host and Scheme spoofing.
- CVE-2026-26962 - Improper unfolding of folded multipart headers preserves CRLF in parsed parameter.
- CVE-2026-26961 - Raise error for multipart requests with multiple boundary parameters.
Breaking Changes
Rack::Static
- No longer accept regular expressions in
header_rules:
It is no longer possible to pass regular expressions intoheader_rulesconfig.
March 2026
2.2.22.10
Released Mar 4, 2026Security Fixes
- CVE-2026-25500 - XSS injection via malicious filename in
Rack::Directory. - CVE-2026-22860 - Directory traversal via root prefix bypass in
Rack::Directory.
October 2025
2.2.20.11
Released Oct 30, 2025Notes
- Removed an unnecessary warning caused by the last change ("unknown or unsafe x-sendfile variation"). This change has no security implications.
2.2.20.10
Released Oct 13, 2025Security Fixes
- CVE-2025-61919 - Unbounded read in Rack::Request form parsing can lead to memory exhaustion.
- CVE-2025-61780 - Improper handling of headers in Rack::Sendfile may allow proxy bypass.
Breaking Changes
Rack::Sendfile
- No longer accept
X-Accel-Redirectas a value for theX-Sendfile-Typeheader:
This affects applications using nginx'sX-Accel-Redirectheader.X-Sendfile-Typetells Rack to use theX-Accel-Redirectmechanism.X-Accel-Mappingdefines how file system paths are mapped to URLs.
Because both headers could be set by an attacker, Rack can no longer safely trust them to rewrite paths. As a result, the new Rack release no longer acceptsX-Accel-Redirectas a value for theX-Sendfile-Typeheader.
To re-enable this functionality safely, you must now explicitly configure Rack or Rails to useX-Accel-Redirect.
In a Rails app:config.action_dispatch.x_sendfile_header = "X-Accel-Redirect"
In a Rack app:use Rack::Sendfile, "X-Accel-Redirect"
If you do this, make sure a user cannot set theX-Accel-Mappingheader, by explicitly settingX-Accel-Mappingin your nginx configuration:proxy_set_header x-accel-mapping /var/www/=/files/;
orproxy_set_header x-accel-mapping "";
Note: In the official Rack 2 and 3 releases, it is also no longer possible to configure Rack to use Apache'sX-SendfileviaX-Sendfile-Type: X-Sendfile. Our version of Rack still supports this option.
2.2.19.10
Released Oct 13, 2025Security Fixes
- CVE-2025-61772 - Multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion).
- CVE-2025-61771 - Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion).
- CVE-2025-61770 - Unbounded multipart preamble buffering enables DoS (memory exhaustion).
Breaking Changes
Multipart parser
- Reject multipart form data exceeding 16 MB:
With the new release, multipart requests that include form data exceeding 16 MB will no longer be accepted. It remains possible to upload arbitrarily large files, but not non-file form fields.
For example, if a form includes a file upload and a text field, and the user enters more than 16 MB of text, the request will fail. This may also affect API endpoints that use multipart requests, although such usage is relatively uncommon.
You can increase the limit by setting the environment variable (in this example, for a limit of 100 MB):RACK_MULTIPART_BUFFERED_UPLOAD_BYTESIZE_LIMIT=104857600
2.2.18.10
Released Oct 2, 2025Security Fixes
- CVE-2025-59830 - Unbounded parameter parsing in
Rack::QueryParsercan lead to memory exhaustion via semicolon-separated parameters.
June 2025
2.2.17.10
Released Jun 17, 2025Security Fixes
- CVE-2025-49007 - Denial of service vulnerability in the Content-Disposition parsing component of Rack.
May 2025
2.2.14.10
Released May 14, 2025Security Fixes
- CVE-2025-46727 - Unbounded parameter parsing in
Rack::QueryParsercan lead to memory exhaustion. - CVE-2025-32441 - Rack session can be restored after deletion.
Breaking Changes
Rack::QueryParser
- Enforce configurable limits on query and form data:
Like the official Rack release, we now enforce two configurable limits:- Total size limit: 4 MB maximum across all query/form data. Increase by setting
RACK_QUERY_PARSER_BYTESIZE_LIMITto a higher byte count. - Parameter count limit: 4,096 parameters maximum. Increase by setting
RACK_QUERY_PARSER_PARAMS_LIMITto a higher integer.
Note that this does not affect file uploads. Uploaded files become Tempfiles, and therefore will not exhaust memory. - Total size limit: 4 MB maximum across all query/form data. Increase by setting
March 2025
2.2.13.10
Released Mar 18, 2025Security Fixes
- CVE-2025-27610 - Local file inclusion in
Rack::Static. - CVE-2025-27111 - Possible Log Injection in
Rack::Sendfile. - CVE-2025-25184 - Possible Log Injection in
Rack::CommonLogger.
February 2025
2.2.9.10
Released Feb 10, 2025Notes
- This is the initial release of Never-Ending Support (NES) for Rack v2.2.x.
Security Fixes
- CVE-2024-26141 - discloses a Denial of Service vulnerability in Rack.
- CVE-2024-25126 - disclosed a Redos vulnerability in Rack.
- CVE-2023-27539 - Avoid ReDoS in header parsing.
- CVE-2023-27530 - Introduce
multipart_total_part_limitto limit total parts. - CVE-2022-44572 - Forbid control characters in attributes (also ReDoS).
- CVE-2022-44571 - Fix ReDoS vulnerability in multipart parser.
- CVE-2022-44570 - Fix ReDoS in
Rack::Utils.get_byte_ranges.
Stay in the loop
~/herodevs-spring-framework-support
herodevs@nes:open-source$ ./display-support-info.sh