Skip to content

Bump rack from 3.1.21 to 3.1.24 - #95

Open
dependabot[bot] wants to merge 1 commit into
jekyllfrom
dependabot/bundler/rack-3.1.24
Open

dependabot[bot] wants to merge 1 commit into
jekyllfrom
dependabot/bundler/rack-3.1.24

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 4, 2026

Copy link
Copy Markdown
Contributor

Bumps rack from 3.1.21 to 3.1.24.

Changelog

Sourced from rack's changelog.

[3.1.24] - 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::Directory listed directories outside the root when .. followed a symbolic link.
  • GHSA-frgv-948x-h96g Rack::Multipart::Parser did not unfold a folded Content-ID header, preserving CRLF in the parsed parameter name.
  • GHSA-f7cc-57h7-qrcg Rack::QueryParser separator 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_SEP and the COMMON_SEP entries for & and ; are now Strings rather than Regexps.

Changed

  • The multipart Content-Type header is now parsed according to RFC 9110. An unquoted boundary containing characters outside the token grammar (such as =, /, :, ?, parentheses, or spaces), or parameters not separated by ;, now raise Rack::Multipart::Error instead of being accepted. Quoted boundaries are unaffected. (@​jeremyevans, @​tenderlove)

Fixed

  • Rack::Multipart no longer raises TypeError for a part with charset=internal when no default internal encoding is set; the part is treated as binary.

[3.1.23] - 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-2j8w-xcrc-x985 Rack::Request#host_with_port, #base_url, and #url returned the raw authority when it was invalid; host_with_port now returns nil in that case.
  • 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.

[3.1.22] - 2026-08-13

Security

  • CVE-2026-26962 Improper unfolding of folded multipart headers preserves CRLF in parsed parameter values.

Fixed

  • Restore Ruby 2.4/2.5 compatibility.
Commits
  • f1ebc3d Bump patch version.
  • bc5ec00 Update changelog.
  • d895d94 Avoid regexp backtracking when stripping spaces after query separators. (GHSA...
  • 770241c Unfold the Content-ID header before using it as a multipart part name. (GHSA-...
  • c7102e9 Normalize the path before accessing the filesystem in Rack::Directory. (GHSA-...
  • 8ae2ea8 Only call Encoding.find for known multipart charset names. (GHSA-58mf-c3jj-277p)
  • e5045fe Use a RFC 9110-based parser for the multipart boundary. (GHSA-r243-pfwh-7rpx)
  • 7131b80 Bump patch version.
  • 4ce7131 Update changelog.
  • 19a1a19 Reject multipart content types with a boundary parameter before the parsed one.
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.

Bumps [rack](https://github.com/rack/rack) from 3.1.21 to 3.1.24.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](rack/rack@v3.1.21...v3.1.24)

---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.1.24
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Dec 4, 2026
@coderabbitai

coderabbitai Bot commented Dec 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d240f508-94ba-4d95-af6c-6c82c793cce5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants