Up to [cvs.NetBSD.org] / pkgsrc / www / ruby-rack2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Pullup ticket #7368 - requested by taca
www/ruby-rack2: Security fix
Revisions pulled up:
- www/ruby-rack2/Makefile 1.18
- www/ruby-rack2/distinfo 1.18
---
Module Name: pkgsrc
Committed By: taca
Date: Sat Nov 7 16:48:14 UTC 2026
Modified Files:
pkgsrc/www/ruby-rack2: Makefile distinfo
Log Message:
www/ruby-rack2: update to 2.2.25
2.2.25 (2026-10-30)
Security
* GHSA-5v64-555j-wjxm Multipart parser retains parsed data in its scan
buffer, allowing denial of service via memory exhaustion.
* GHSA-wvg4-6p58-3gh3 Rack::Static header rules were matched against an
unnormalized path, allowing dot segments to bypass them.
* GHSA-p8x9-v4hv-2w4g Multipart requests with more than one boundary
parameter were accepted when the first value was empty or began with a
quote, semicolon, or comma, bypassing the guard added for CVE-2026-26961.
Fixed
* Multipart parser: scan boundary lines with a literal newline search
instead of a backtracking regexp, which allocated tens of megabytes per
scan for long lines and made the scan buffer fix above ineffective on this
series.
www/ruby-rack2: update to 2.2.25 2.2.25 (2026-10-30) Security * GHSA-5v64-555j-wjxm Multipart parser retains parsed data in its scan buffer, allowing denial of service via memory exhaustion. * GHSA-wvg4-6p58-3gh3 Rack::Static header rules were matched against an unnormalized path, allowing dot segments to bypass them. * GHSA-p8x9-v4hv-2w4g Multipart requests with more than one boundary parameter were accepted when the first value was empty or began with a quote, semicolon, or comma, bypassing the guard added for CVE-2026-26961. Fixed * Multipart parser: scan boundary lines with a literal newline search instead of a backtracking regexp, which allocated tens of megabytes per scan for long lines and made the scan buffer fix above ineffective on this series.
www/ruby-rack2: update to 2.2.24 2.2.23 (2026-04-01) Security * 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_encoding which could lead to denial of service. * CVE-2026-26961 Raise error for multipart requests with multiple boundary parameters. * CVE-2026-34786 Rack::Static header_rules bypass via URL-encoded path mismatch. * CVE-2026-34831 Content-Length mismatch in Rack::Files error responses. * CVE-2026-34826 Multipart byte range processing allows denial of service via excessive overlapping ranges. * CVE-2026-34830 Rack::Sendfile header-based X-Accel-Mapping regex injection enables unauthorized X-Accel-Redirect. * CVE-2026-34785 Rack::Static prefix matching can expose unintended files under the static root. * CVE-2026-34829 Multipart parsing without Content-Length header allows unbounded chunked file uploads. 2.2.24 (2026-08-13) Security * CVE-2026-26962 Improper unfolding of folded multipart headers preserves CRLF in parsed parameter values.
www/ruby-rack2: update to 2.2.22 2.2.22 (2026-02-16) Security * CVE-2026-25500 XSS injection via malicious filename in Rack::Directory. * CVE-2026-22860 Directory traversal via root prefix bypass in Rack::Directory
www/ruby-rack2: update to 2.2.21 2.2.18 (2025-09-25) Security * CVE-2025-59830 Unbounded parameter parsing in Rack::QueryParser can lead to memory exhaustion via semicolon-separated parameters. 2.2.19 (2025-10-07) Security * 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) 2.2.20 (2025-10-10) Security * CVE-2025-61780 Improper handling of headers in Rack::Sendfile may allow proxy bypass. * CVE-2025-61919 Unbounded read in Rack::Request form parsing can lead to memory exhaustion. 2.2.21 (2025-11-03) Fixed * Multipart parser: limit MIME header size check to the unread buffer region to avoid false multipart mime part header too large errors when previously read data accumulates in the scan buffer. (#2392, @alpaca-tc, @willnet, @krororo)
www/ruby-rack2: update to 2.2.17 2.2.16 (2025-05-22) * Change CGI::Cookie.new to Cookie.new * Wrap cookie value in array when storing it 2.2.17 (2025-06-03) * Backport #2263 to v2.2, fix: malformed charset param (#2338)
www/ruby-rack2: update to 2.2.15 2.2.14 (2025-05-06) Security * CVE-2025-32441 Rack session can be restored after deletion. * CVE-2025-46727 Unbounded parameter parsing in Rack::QueryParser can lead to memory exhaustion. 2.2.15 (2025-05-18) * Optional support for CGI::Cookie if not available. (#2327, #2333, @earlopain)
www/ruby-rack2: update to 2.2.13 2.2.13 (2025-03-11) Security * CVE-2025-27610 Local file inclusion in Rack::Static.
www/ruby-rack2: update to 2.2.12 2.2.12 (2025-03-04) Security * CVE-2025-27111 Possible Log Injection in Rack::Sendfile.
www/ruby-rack2: update to 2.2.11 2.2.11 (2025-02-12) Security * CVE-2025-25184 Possible Log Injection in Rack::CommonLogger.
www/ruby-rack2: update to 2.2.10 2.2.10 (2024-10-14) * Fix compatibility issues with Ruby v3.4.0. (#2248, @byroot)
www/ruby-rack2: update to 2.2.9 2.2.9 (2023-03-21) * Return empty when parsing a multi-part POST with only one end delimiter. (#2104, [@alpaca-tc])
www/ruby-rack2: update to 2.2.8.1 2.2.8.1 (2024-02-21) What's Changed * Fixed ReDoS in Accept header parsing [CVE-2024-26146] * Fixed ReDoS in Content Type header parsing [CVE-2024-25126] * Reject Range headers which are too large [CVE-2024-26141]
www/ruby-rack2: update to 2.2.8 2.2.7 (2023-03-13) * Correct the year number in the changelog (#2015, @kimulab) * Support underscore in host names for Rack 2.2 (Fixes #2070) (#2015, @jeremyevans) 2.2.8 (2023-07-31) * Regenerate SPEC (#2102, @skipkayhil) * Limit file extension length of multipart tempfiles (#2015, @dentarg) * Fix "undefined method DelegateClass for Rack::Session::Cookie:Class" (#2092, @onigra @dchandekstark)
www/ruby-rack2: update to 2.2.6.4 2.2.6.4 (2023-03-13) * Avoid ReDoS problem: Split headers on commas, then strip the strings in order to avoid ReDoS issues. [CVE-2023-27539]
www/ruby-rack2: update to 2.2.6.3 2.2.6.3 (2023-03-02) * Limit all multipart parts, not just files Previously we would limit the number of multipart parts which were files, but not other parts. In some cases this could cause parsing of maliciously crafted inputs to take longer than expected. [CVE-2023-27530]
www/ruby-rack2: update to 2.2.6.2 2.2.6 (2022-01-17) * Extend Rack::MethodOverride to handle QueryParser::ParamsTooDeepError error. (#2011, @byroot) 2.2.6.1 (2022-01-17) * [CVE-2022-44571] Fix ReDoS vulnerability in multipart parser * [CVE-2022-44570] Fix ReDoS in Rack::Utils.get_byte_ranges * [CVE-2022-44572] Forbid control characters in attributes (also ReDoS) 2.2.6.2 (2022-01-17) * [CVE-2022-44570] Fix ReDoS in Rack::Utils.get_byte_ranges
www/ruby-rack2: update to 2.2.5 2.2.5 (2022-12-27) Fixed * Rack::URLMap uses non-deprecated form of Regexp.new. (#1998, @weizheheng)
www/ruby-rack2: add package version 2.2.4 Add current ruby-rack package version 2.2.4 as ruby-rack2.