Skip to content

Commit 0920f02

Browse files
committed
fix: security update rack version
CVE: CVE-2025-61780 CVE: CVE-2025-61919 GHSA: GHSA-6xw4-3v39-52mm GHSA: GHSA-r657-rxjc-j557
1 parent 9de3c7e commit 0920f02

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ gem "pg", "~> 1.1"
1212
# Use the Puma web server [https://github.com/puma/puma]
1313
gem "puma", "~> 6.0"
1414

15+
# Security: Force Rack to safe version to fix CVE-2025-61780 and CVE-2025-61919
16+
gem "rack", "~> 3.1.18"
17+
1518
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
1619
# gem "jbuilder"
1720

Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ GEM
199199
pundit (2.5.2)
200200
activesupport (>= 3.0.0)
201201
racc (1.8.1)
202-
rack (3.1.17)
202+
rack (3.1.18)
203203
rack-attack (6.7.0)
204204
rack (>= 1.0, < 4)
205205
rack-cors (3.0.0)
@@ -369,6 +369,7 @@ DEPENDENCIES
369369
pg (~> 1.1)
370370
puma (~> 6.0)
371371
pundit
372+
rack (~> 3.1.18)
372373
rack-attack
373374
rack-cors
374375
rails (~> 7.2.0)

0 commit comments

Comments
 (0)