-
Notifications
You must be signed in to change notification settings - Fork 900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade rack gem CVE-2025-27111 #23367
Conversation
We may want to consider upgrading to Rack 3.0 or 3.1. https://github.com/rack/rack/blob/main/UPGRADE-GUIDE.md doesn't look too difficult. |
What version of rack comes with Rails 7.1? Do we even need to specify rack if it's coming in via Rails? EDIT: I checked myself and it's rack 3.1.11 |
Gemfile
Outdated
@@ -67,7 +67,7 @@ gem "pg-dsn_parser", "~>0.1.1", :require => false | |||
gem "prism", ">=0.25.0", :require => false # Used by DescendantLoader | |||
gem "psych", ">=3.1", :require => false # 3.1 safe_load changed positional to kwargs like aliases: true: https://github.com/ruby/psych/commit/4d4439d6d0adfcbd211ea295779315f1baa7dadd | |||
gem "query_relation", "~>0.1.0", :require => false | |||
gem "rack", ">=2.2.6.4", :require => false | |||
gem "rack", ">=2.2.11", :require => false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix is in 2.2.12, so this needs to be at least that.
ok for now to get everything green, especially the security suite, let's just get to 2.2.12. |
We're currently in the 2.2.x world Radjabov Gemfile.lock.release points to 2.2.10 GHSA-8cgq-6mh2-7j6v
Checked commit kbrock@3664392 with ruby 3.1.5, rubocop 1.56.3, haml-lint 0.51.0, and yamllint |
So I had assumed that rails would have required rack 3.1.11. (I put in 3.1.11 first - rolled back to 2.2.11 - and flubbed it) Rails 7.1.5.1 requires actionpack, which requires rack >= 2.2.4 [ref] |
Upgrade rack gem CVE-2025-27111 (cherry picked from commit c350767)
Manually backported to
|
We're currently in the 2.2.x world
Radjabov
Gemfile.lock.release
points to 2.2.10 (vulnerable)GHSA-8cgq-6mh2-7j6v