Upgrade Ruby 4.0.1 → 4.0.5#1419
Merged
Merged
Conversation
Patch-level bump within the 4.0.x series to pick up security fixes: - CVE-2026-41316: ERB deserialization RCE (fixed in 4.0.3) - CVE-2026-46727: use-after-free in getaddrinfo timeout / DoS (fixed in 4.0.5) No application code changes; CI reads .ruby-version via ruby/setup-ruby. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
rodrieiz
marked this pull request as ready for review
July 13, 2026 18:59
enzofab91
approved these changes
Jul 13, 2026
andresg4
approved these changes
Jul 14, 2026
jpascual1994
approved these changes
Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
Patch-level upgrade of Ruby within the 4.0.x series: 4.0.1 → 4.0.5 (latest stable).
Why
Two security fixes landed in the 4.0.x line since 4.0.1:
Marshal.loaduntrusted data witherb+activesupportloaded (i.e. any Rails app).getaddrinfotimeout path → remote DoS via delayed DNS responses.Changes
.ruby-version,Dockerfile,Dockerfile.dev:4.0.1→4.0.5Gemfile.lockRUBY VERSIONstanza:4.0.1p0→4.0.5p0No application code changes. It's an ABI-compatible patch bump — no gem changes, no syntax changes.
CI needs no changes:
ruby/setup-ruby@v1reads.ruby-versionautomatically.Verification (local, on Ruby 4.0.5)
bundle install(plain, no flags) → clean, empty lockfile diffbundle exec rubocop→ 136 files, 0 offensesbundle exec rspec→ 119 examples, 0 failures (92% coverage)🤖 Generated with Claude Code