Skip to content

chore(deps): bump rack from 2.2.17 to 2.2.26 in /test-server/ruby-v3-server - #220

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/test-server/ruby-v3-server/rack-2.2.26
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/test-server/ruby-v3-server/rack-2.2.26

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps rack from 2.2.17 to 2.2.26.

Changelog

Sourced from rack's changelog.

[2.2.26] - 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-mhj6-xc86-54m8 Rack::Directory listed directories outside the root when .. followed a symbolic link.
  • GHSA-frgv-948x-h96g Rack::Multipart::Parser accepted raw CR and LF characters inside quoted multipart header values, preserving them in parsed parameter names.
  • 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. 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 EOFError instead of being accepted. Quoted boundaries are unaffected. (@​jeremyevans, @​tenderlove)

[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.

[2.2.24] - 2026-08-13

Security

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

[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.22] - 2026-02-16

Security

  • CVE-2026-25500 XSS injection via malicious filename in Rack::Directory.

... (truncated)

Commits
  • 320778d Bump patch version.
  • 5542feb Update changelog.
  • bc0ad07 Avoid regexp backtracking when stripping spaces after query separators. (GHSA...
  • 95cf658 Reject line breaks in multipart header values. (GHSA-frgv-948x-h96g)
  • d73bdad Normalize the path before accessing the filesystem in Rack::Directory. (GHSA-...
  • 6cce362 Use a RFC 9110-based parser for the multipart boundary. (GHSA-r243-pfwh-7rpx)
  • 40904de Bump patch version.
  • c435449 Update changelog.
  • 71b39f0 Scan multipart boundary lines without regexp backtracking.
  • c9b4698 Remove parsed bytes from the multipart buffer while reading parts.
  • 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 2.2.17 to 2.2.26.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](rack/rack@v2.2.17...v2.2.26)

---
updated-dependencies:
- dependency-name: rack
  dependency-version: 2.2.26
  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 3, 2026

@avm-dependabot-auto-merge avm-dependabot-auto-merge Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: Dependabot dependency update.

@avm-dependabot-auto-merge

Copy link
Copy Markdown

Dependabot Auto-Merge projected merge date: 2026-12-10T23:57:04.000Z

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