Skip to content

chore: bump the security group across 1 directory with 3 updates - #915

Merged
bnusunny merged 1 commit into
mainfrom
dependabot/bundler/examples/sinatra/app/src/security-64c78b020e
Nov 13, 2026
Merged

bnusunny merged 1 commit into
mainfrom
dependabot/bundler/examples/sinatra/app/src/security-64c78b020e

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the security group with 3 updates in the /examples/sinatra/app/src directory: sinatra, rack and rack-session.

Updates sinatra from 4.1.0 to 4.2.0

Changelog

Sourced from sinatra's changelog.

4.2.0 / 2025-10-08

  • New: Add :static_headers setting for custom headers in static file responses (#2089)
  • Fix: Fix regex in etag_matches? to prevent ReDoS (#2121)
  • Fix: PATH_INFO can never be empty (#2114)
  • Fix: Fix malformed Content-Type headers (#2081)
  • Fix: Avoid crash for integer values in content_type parameters (#2078)

4.1.1 / 2024-11-20

  • Fix: Restore WEBrick support (#2067)
Commits

Updates rack from 3.1.12 to 3.2.8

Release notes

Sourced from rack's releases.

v3.2.6

Full Changelog: rack/rack@v3.2.5...v3.2.6

v3.2.4

No release notes provided.

Changelog

Sourced from rack's changelog.

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

Fixed

  • Rack::Multipart::UploadedFile now delegates keyword arguments to the wrapped tempfile. Calls such as uploaded_file.readlines(chomp: true) raised TypeError on Ruby 3.0+. (#2481, #2501, @​SeanLF)

[3.2.7] - 2026-08-13

Fixed

  • Restore Ruby 2.4/2.5 compatibility.

[3.2.6] - 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-32762 Forwarded header semicolon injection enables Host and Scheme spoofing.
  • 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-34835 Rack::Request accepts invalid Host characters, enabling host allowlist bypass.
  • 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.
  • CVE-2026-34827 Multipart header parsing allows denial of service via escape-heavy quoted parameters.
  • CVE-2026-26962 Improper unfolding of folded multipart headers preserves CRLF in parsed parameter values.

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

Fixed

[3.2.4] - 2025-11-03

... (truncated)

Commits
  • 5f511d7 Bump patch version.
  • 3e01d71 Update changelog.
  • a295123 Reject multipart content types with a boundary parameter before the parsed one.
  • 49386f4 Don't leak invalid Host through host_with_port.
  • 18a07fe Normalize static header rule paths before matching.
  • 244e75a Remove parsed bytes from the multipart buffer while reading parts.
  • 3519905 Backport UploadedFile keyword forwarding fix (#2501)
  • 70d2e10 Bump patch version.
  • 9b31adf Fix specs on Ruby 2.4
  • 7c0abab Do not ignore Ruby 2.4/2.5 errors in CI
  • Additional commits viewable in compare view

Updates rack-session from 2.0.0 to 2.1.2

Release notes

Sourced from rack-session's releases.

v2.1.2

  • CVE-2026-39324 Don't fall back to unencrypted coder if encryptors are present.

v2.1.1

Full Changelog: rack/rack-session@v2.1.0...v2.1.1

v2.1.0

Full Changelog: rack/rack-session@v2.0.0...v2.1.0

Changelog

Sourced from rack-session's changelog.

v2.1.2

  • CVE-2026-39324 Don't fall back to unencrypted coder if encryptors are present.

v2.1.1

  • Prevent Rack::Session::Pool from recreating deleted sessions CVE-2025-46336.

v2.1.0

  • Improved compatibility with Ruby 3.3+ and Rack 3+.
  • Add support for cookie option partitioned.
  • Introduce assume_ssl option to allow secure session cookies through insecure proxy.
Commits
  • 504367b Bump patch version.
  • f43638c Don't fall back to unencrypted coder if encryptors are present.
  • dadcfe6 Bump actions/checkout from 4 to 5 (#54)
  • 4eb9ea8 Add top level session spec to validate existing formats.
  • 8f94577 Add rails to external tests.
  • 38ea47d Allow the v2 encryptor to serialize messages with Marshal (#44)
  • 43f2e3a Fix compatibility with older Rubies.
  • 6a060b8 Support UTF-8 data when using the JSON serializer (#39)
  • 8ce0146 Fix auth_tag retrieval on JRuby (#32)
  • 7727185 Add AEAD encryption (#23)
  • Additional commits viewable in compare view

@bnusunny

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps the security group with 3 updates in the /examples/sinatra/app/src directory: [sinatra](https://github.com/sinatra/sinatra), [rack](https://github.com/rack/rack) and [rack-session](https://github.com/rack/rack-session).


Updates `sinatra` from 4.1.0 to 4.2.0
- [Changelog](https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md)
- [Commits](sinatra/sinatra@v4.1.0...v4.2.0)

Updates `rack` from 3.1.12 to 3.2.8
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](rack/rack@v3.1.12...v3.2.8)

Updates `rack-session` from 2.0.0 to 2.1.2
- [Release notes](https://github.com/rack/rack-session/releases)
- [Changelog](https://github.com/rack/rack-session/blob/main/releases.md)
- [Commits](rack/rack-session@v2.0.0...v2.1.2)

---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.2.8
  dependency-type: indirect
  dependency-group: security
- dependency-name: rack-session
  dependency-version: 2.1.2
  dependency-type: indirect
  dependency-group: security
- dependency-name: sinatra
  dependency-version: 4.2.0
  dependency-type: direct:production
  dependency-group: security
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bundler/examples/sinatra/app/src/security-64c78b020e branch from 2020a1b to 02858fd Compare November 13, 2026 01:12

@bnusunny bnusunny left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Security update for an example; CI green after rebase on the #917 fix.

@bnusunny
bnusunny merged commit c57548f into main Nov 13, 2026
9 checks passed
@bnusunny
bnusunny deleted the dependabot/bundler/examples/sinatra/app/src/security-64c78b020e branch November 13, 2026 01:22
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