fix(deps): bump rack-session to >=2.1.2 (GHSA-33qg-7wpp-89cq)#397
Draft
barretts wants to merge 1 commit into
Draft
fix(deps): bump rack-session to >=2.1.2 (GHSA-33qg-7wpp-89cq)#397barretts wants to merge 1 commit into
barretts wants to merge 1 commit into
Conversation
Resolves: - GHSA-33qg-7wpp-89cq (critical) -- first patched in 2.1.2 Lockfile-only bump via bundle lock --update=rack-session --conservative. Dependency chain: 12factor -> sinatra -> rack-session.
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.
Summary
Fixes 1 CRITICAL severity 3PP vulnerability in
rack-session(GHSA-33qg-7wpp-89cq).rack-sessionprior to 2.1.2 is affected by a session-fixation issue: when an application callsRack::Session::Abstract::SessionHash#destroywithout rotating session identifiers, the underlying session store can leave the old session ID usable by an attacker. Upgrading to 2.1.2 includes the upstream fix.Production risk: Runtime —
rack-sessionis a transitive dependency ofsinatra, which serves the 12factor application's HTTP surface.Strategy: lockfile-only transitive bump via
bundle lock --update=rack-session --conservativeChanges
Gemfile.lock
Re-resolved
rack-sessionfrom2.1.1to2.1.2(lockfile-only; no Gemfile change required):Dependency chain:
12factor app -> sinatra -> rack-sessionVersion Selection
Vulnerabilities Fixed
Validation
bundler-audit checkbaseline: GHSA-33qg-7wpp-89cq present (confirmed)bundle lock --update=rack-session --conservative: SUCCESSbundler-audit checkpost-fix: GHSA-33qg-7wpp-89cq clearedruby -c web.rb: Syntax OK (exit 0)bundle check: exit 18 — host Ruby 3.2.2 vs Gemfile 3.3.5 (environmental mismatch, not a regression of the fix)Note: CI should be used as the install validation gate due to host Ruby version mismatch.
How to Test