Skip to content

Commit 0083ff3

Browse files
kalroyjashaik
andauthored
CHEF-28294: Fix CVE-2025-61780 - Update rack gem to >= 3.1.18 (#4129)
* CHEF-28294: Fix CVE-2025-61780 - Update rack gem constraint to >= 3.1.18 Update rack gem version constraint in oc-id Gemfile from '> 3.0' to '>= 3.1.18' to address CVE-2025-61780 (CVSS 5.3), an information disclosure vulnerability in Rack::Sendfile when running behind a proxy like Nginx. The vulnerability affects rack versions prior to 2.2.20, 3.1.18, and 3.2.3. Gemfile.lock already contains rack 3.2.3 which is compliant. * Update Gemfile.lock for rack >= 3.1.18 constraint - Updated rack from 3.2.3 to 3.2.4 - Regenerated using bundle lock --update=rack with Ruby 3.1.7 * CHEF-28294: Update rack gem constraint to >= 3.2.4 and update all Gemfile.lock files - Update rack constraint from >= 3.1.18 to >= 3.2.4 in src/oc-id/Gemfile - Update rack version from 3.2.3 to 3.2.4 in all Gemfile.lock files: - src/oc-id/Gemfile.lock (already at 3.2.4, updated constraint in DEPENDENCIES) - src/chef-server-ctl/Gemfile.lock - omnibus/Gemfile.lock - Ensures consistent rack version 3.2.4 across all dependencies - Addresses CVE-2025-61780 security vulnerability Signed-off-by: Jan Shahid Shaik <[email protected]> --------- Signed-off-by: Jan Shahid Shaik <[email protected]> Co-authored-by: Jan Shahid Shaik <[email protected]> Co-authored-by: jashaik <[email protected]>
1 parent 5cde9ab commit 0083ff3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

omnibus/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ GEM
379379
stringio
380380
public_suffix (6.0.2)
381381
racc (1.8.1)
382-
rack (3.2.3)
382+
rack (3.2.4)
383383
rackup (2.2.1)
384384
rack (>= 3)
385385
rainbow (3.1.1)

src/chef-server-ctl/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ GEM
389389
method_source (~> 1.0)
390390
public_suffix (6.0.2)
391391
racc (1.8.1)
392-
rack (3.2.3)
392+
rack (3.2.4)
393393
rackup (2.2.1)
394394
rack (>= 3)
395395
rainbow (3.1.1)

src/oc-id/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ gem 'veil', '~> 0.3.11',
2929
git: "https://github.com/talktovikas/chef_secrets.git",
3030
branch: "vikas/debug"
3131

32-
gem 'rack', '> 3.0'
32+
gem 'rack', '>= 3.2.4'
3333

3434
gem 'omniauth-chef', '~> 0.4.1',
3535
git: "https://github.com/talktovikas/omniauth-chef.git",

src/oc-id/Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ GEM
520520
stringio
521521
public_suffix (6.0.2)
522522
racc (1.8.1)
523-
rack (3.2.3)
523+
rack (3.2.4)
524524
rack-protection (4.2.1)
525525
base64 (>= 0.1.0)
526526
logger (>= 1.6.0)
@@ -778,7 +778,7 @@ DEPENDENCIES
778778
omniauth-chef (~> 0.4.1)!
779779
pg (>= 0.18, < 1.6)
780780
pry-byebug
781-
rack (> 3.0)
781+
rack (>= 3.2.4)
782782
rails (= 7.1.5.2)
783783
rails-controller-testing
784784
rb-readline (~> 0.5.2)

0 commit comments

Comments
 (0)