chore(deps-dev): bump rack from 3.2.6 to 3.2.9
DE
3d ago+1+1+0123456789-1-1-0123456789
Bumps rack from 3.2.6 to 3.2.9.
Changelog
Sourced from rack's changelog.
[3.2.9] - 2026-11-20
Security
- GHSA-r243-pfwh-7rpx Multipart boundary was extracted by substring match rather than parameter parsing, allowing parser differentials and WAF bypass.
- GHSA-58mf-c3jj-277p Multipart parser searched the load path for every unknown part
charset, allowing denial of service via CPU exhaustion.- GHSA-mhj6-xc86-54m8
Rack::Directorylisted directories outside the root when..followed a symbolic link.- GHSA-frgv-948x-h96g
Rack::Multipart::Parserdid not unfold a foldedContent-IDheader, preserving CRLF in the parsed parameter name.- GHSA-f7cc-57h7-qrcg
Rack::QueryParserseparator pattern allocated about 48 bytes per space after&, and nested parameter name splitting about 48 bytes per bracket, allowing denial of service via memory amplification.DEFAULT_SEPand theCOMMON_SEPentries for∧are now Strings rather than Regexps.Changed
- The multipart
Content-Typeheader is now parsed according to RFC 9110. An unquotedboundarycontaining characters outside the token grammar (such as=,/,:,?, parentheses, or spaces), or parameters not separated by;, now raiseRack::Multipart::Errorinstead of being accepted. Quoted boundaries are unaffected. (@jeremyevans,@tenderlove)Fixed
Rack::Multipartno longer raisesTypeErrorfor a part withcharset=internalwhen no default internal encoding is set; the part is treated as binary.[3.2.8] - 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::Staticheader rules were matched against an unnormalized path, allowing dot segments to bypass them.- GHSA-2j8w-xcrc-x985
Rack::Request#host_with_port,#base_url, and#urlreturned the raw authority when it was invalid;host_with_portnow returnsnilin that case.- GHSA-p8x9-v4hv-2w4g Multipart requests with more than one
boundaryparameter 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
Rack::Multipart::UploadedFilenow delegates keyword arguments to the wrapped tempfile. Calls such asuploaded_file.readlines(chomp: true)raisedTypeErroron Ruby 3.0+. (#2481, #2501,@SeanLF)[3.2.7] - 2026-08-13
Fixed
- Restore Ruby 2.4/2.5 compatibility.
Commits
52941a0Bump patch version.6227f3eUpdate changelog.59fae90Avoid regexp backtracking when stripping spaces after query separators. (GHSA...a08cec2Unfold the Content-ID header before using it as a multipart part name. (GHSA-...42af7a7Normalize the path before accessing the filesystem in Rack::Directory. (GHSA-...7c16c66Only call Encoding.find for known multipart charset names. (GHSA-58mf-c3jj-277p)c74dbadUse a RFC 9110-based parser for the multipart boundary. (GHSA-r243-pfwh-7rpx)5f511d7Bump patch version.3e01d71Update changelog.a295123Reject multipart content types with a boundary parameter before the parsed one.- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Bumps rack from 3.2.6 to 3.2.9 in Gemfile.lock to address several security advisories in multipart parsing, directory/static file serving, query parsing, and request authority handling. No application code changes; rack is an indirect dependency.
Behavior change
- Multipart
Content-Typeparsing is stricter per RFC 9110: an unquotedboundarycontaining characters outside the token grammar, or parameters not separated by;, now raisesRack::Multipart::Errorinstead of being accepted.