Skip to content

build(deps): bump rack from 3.1.21 to 3.1.23 - #1228

Merged
kostyanf14 merged 1 commit into
masterfrom
dependabot/bundler/rack-3.1.23
Nov 17, 2026
Merged

kostyanf14 merged 1 commit into
masterfrom
dependabot/bundler/rack-3.1.23

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Bumps rack from 3.1.21 to 3.1.23.

Changelog

Sourced from rack's changelog.

[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
  • 7131b80 Bump patch version.
  • 4ce7131 Update changelog.
  • 19a1a19 Reject multipart content types with a boundary parameter before the parsed one.
  • 4380381 Don't leak invalid Host through host_with_port.
  • 9d7f194 Normalize static header rule paths before matching.
  • 2eaa5b1 Remove parsed bytes from the multipart buffer while reading parts.
  • 528a5e2 Bump patch version.
  • ae320b4 Backport OBS unfolding for multipart requests to 3-1-stable (#2486)
  • 7625c59 Fix specs on Ruby 2.4
  • b325730 Do not ignore Ruby 2.4/2.5 errors in CI
  • 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.

Summary by CodeRabbit

  • Bug Fixes
    • Corrected the spelling of Rack’s allowed forwarded parameters constant in its public declarations.
    • Updated Rack’s public declarations for middleware and wrapper methods to reflect their keyword-argument forwarding behavior. These changes affect the published interface information; they do not describe changes to Rack’s runtime behavior.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Nov 10, 2026
@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Rack 3.1.23 RBI changes source markers to the package format and removes generated annotations across declarations. It also updates selected forwarding signatures, documentation, and the Rack::Utils::ALLOWED_FORWARDED_PARAMS constant name.

Changes: Rack 3.1.23 RBI refresh

Layer / File(s) Summary
Core declarations and forwarding signatures
sorbet/rbi/gems/rack@3.1.23.rbi
Rack and middleware declarations use package source markers and omit generated annotations. BodyProxy#method_missing, Builder#use, Lint::Wrapper#respond_to?, and stream forwarding methods use anonymous rest parameters.
Rack components, requests, and responses
sorbet/rbi/gems/rack@3.1.23.rbi
Mock, multipart, query, request, response, and middleware declarations use package source markers. Generated annotations are removed from these declarations.
Rack::Utils declarations and constants
sorbet/rbi/gems/rack@3.1.23.rbi
Rack utility declarations use package source markers and omit generated annotations. Documentation changes describe secure_compare, escape_html, and multipart-part-limit accessors. ALLOWED_FORWARED_PARAMS is renamed to ALLOWED_FORWARDED_PARAMS.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: Minimal · up to ae38c

This update bumps Rack to a patched version and refreshes its type declarations. Only typing metadata changes, and no concrete risk was found, so it is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "build(deps): bump rack from 3.1.21 to 3.1.23" matches the main change. The raw summary shows the PR updates the Rack 3.1.23 RBI, and the objectives confirm the dependency bump from 3.1.21 t…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "build(deps): bump rack from 3.1.21 to 3.1.23" matches the main change. The raw summary shows the PR updates the Rack 3.1.23 RBI, and the objectives confirm the dependency bump from 3.1.21 to 3.1.23. The title is concise, specific, and follows the conventional commit style. It does not describe the Sorbet RBI details, which is acceptable.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

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: Enterprise
  • Run ID: ccb560bd-656d-47f3-b42d-994cc6b77054
Commits

Reviewing files that changed from the base of the PR and between 0c70d24 and ae38c35.

Files ignored due to path filters: 1

  • Gemfile.lock is excluded by !**/*.lock
Files selected for processing: 1

  • sorbet/rbi/gems/rack@3.1.23.rbi

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

Bumps [rack](https://github.com/rack/rack) from 3.1.21 to 3.1.23.
- [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.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
@kostyanf14
kostyanf14 force-pushed the dependabot/bundler/rack-3.1.23 branch from 0c70d24 to ae38c35 Compare November 17, 2026 16:15
@kostyanf14
kostyanf14 merged commit 7ecda96 into master Nov 17, 2026
6 of 7 checks passed
@kostyanf14
kostyanf14 deleted the dependabot/bundler/rack-3.1.23 branch November 17, 2026 19:19
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.

1 participant