Skip to content

Commit d6bd8d5

Browse files
mikeland73claude
andauthored
Fix remaining Dependabot security alerts (#2804)
## Summary - **Rails example**: Upgrade Rails 7.1.6 → 7.2.3.1 to fix 8 alerts: activestorage path traversal/glob injection/DoS/content type bypass, activesupport ReDoS/DoS/XSS, and actionview XSS - **Django example**: Update sqlparse 0.5.3 → 0.5.4 (DoS via formatting list of tuples) - **Drupal example**: Update psysh v0.12.15 → v0.12.19 (local privilege escalation via CWD .psysh.php auto-load) ## Test plan - [x] Verify `go build ./...` still passes (no Go changes) - [ ] Confirm Dependabot alerts are resolved after merge 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 27a1502 commit d6bd8d5

File tree

4 files changed

+81
-92
lines changed

4 files changed

+81
-92
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
asgiref==3.6.0
22
Django==4.2.29
33
psycopg2==2.9.5
4-
sqlparse==0.5.3
4+
sqlparse==0.5.4

examples/stacks/drupal/composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/stacks/rails/blog/Gemfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
44
ruby "4.0.2"
55

66
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
7-
gem "rails", "~> 7.1.5"
8-
gem "rack", "~> 2.2.15"
7+
gem "rails", "~> 7.2.3.1"
98

109
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
1110
gem "sprockets-rails"
@@ -14,7 +13,7 @@ gem "sprockets-rails"
1413
gem "sqlite3", "~> 1.4"
1514

1615
# Use the Puma web server [https://github.com/puma/puma]
17-
gem "puma", "~> 5.6"
16+
gem "puma", "~> 6.0"
1817

1918
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
2019
gem "importmap-rails"

examples/stacks/rails/blog/Gemfile.lock

Lines changed: 72 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,79 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actioncable (7.1.6)
5-
actionpack (= 7.1.6)
6-
activesupport (= 7.1.6)
4+
actioncable (7.2.3.1)
5+
actionpack (= 7.2.3.1)
6+
activesupport (= 7.2.3.1)
77
nio4r (~> 2.0)
88
websocket-driver (>= 0.6.1)
99
zeitwerk (~> 2.6)
10-
actionmailbox (7.1.6)
11-
actionpack (= 7.1.6)
12-
activejob (= 7.1.6)
13-
activerecord (= 7.1.6)
14-
activestorage (= 7.1.6)
15-
activesupport (= 7.1.6)
16-
mail (>= 2.7.1)
17-
net-imap
18-
net-pop
19-
net-smtp
20-
actionmailer (7.1.6)
21-
actionpack (= 7.1.6)
22-
actionview (= 7.1.6)
23-
activejob (= 7.1.6)
24-
activesupport (= 7.1.6)
25-
mail (~> 2.5, >= 2.5.4)
26-
net-imap
27-
net-pop
28-
net-smtp
10+
actionmailbox (7.2.3.1)
11+
actionpack (= 7.2.3.1)
12+
activejob (= 7.2.3.1)
13+
activerecord (= 7.2.3.1)
14+
activestorage (= 7.2.3.1)
15+
activesupport (= 7.2.3.1)
16+
mail (>= 2.8.0)
17+
actionmailer (7.2.3.1)
18+
actionpack (= 7.2.3.1)
19+
actionview (= 7.2.3.1)
20+
activejob (= 7.2.3.1)
21+
activesupport (= 7.2.3.1)
22+
mail (>= 2.8.0)
2923
rails-dom-testing (~> 2.2)
30-
actionpack (7.1.6)
31-
actionview (= 7.1.6)
32-
activesupport (= 7.1.6)
24+
actionpack (7.2.3.1)
25+
actionview (= 7.2.3.1)
26+
activesupport (= 7.2.3.1)
3327
cgi
3428
nokogiri (>= 1.8.5)
3529
racc
36-
rack (>= 2.2.4)
30+
rack (>= 2.2.4, < 3.3)
3731
rack-session (>= 1.0.1)
3832
rack-test (>= 0.6.3)
3933
rails-dom-testing (~> 2.2)
4034
rails-html-sanitizer (~> 1.6)
41-
actiontext (7.1.6)
42-
actionpack (= 7.1.6)
43-
activerecord (= 7.1.6)
44-
activestorage (= 7.1.6)
45-
activesupport (= 7.1.6)
35+
useragent (~> 0.16)
36+
actiontext (7.2.3.1)
37+
actionpack (= 7.2.3.1)
38+
activerecord (= 7.2.3.1)
39+
activestorage (= 7.2.3.1)
40+
activesupport (= 7.2.3.1)
4641
globalid (>= 0.6.0)
4742
nokogiri (>= 1.8.5)
48-
actionview (7.1.6)
49-
activesupport (= 7.1.6)
43+
actionview (7.2.3.1)
44+
activesupport (= 7.2.3.1)
5045
builder (~> 3.1)
5146
cgi
5247
erubi (~> 1.11)
5348
rails-dom-testing (~> 2.2)
5449
rails-html-sanitizer (~> 1.6)
55-
activejob (7.1.6)
56-
activesupport (= 7.1.6)
50+
activejob (7.2.3.1)
51+
activesupport (= 7.2.3.1)
5752
globalid (>= 0.3.6)
58-
activemodel (7.1.6)
59-
activesupport (= 7.1.6)
60-
activerecord (7.1.6)
61-
activemodel (= 7.1.6)
62-
activesupport (= 7.1.6)
53+
activemodel (7.2.3.1)
54+
activesupport (= 7.2.3.1)
55+
activerecord (7.2.3.1)
56+
activemodel (= 7.2.3.1)
57+
activesupport (= 7.2.3.1)
6358
timeout (>= 0.4.0)
64-
activestorage (7.1.6)
65-
actionpack (= 7.1.6)
66-
activejob (= 7.1.6)
67-
activerecord (= 7.1.6)
68-
activesupport (= 7.1.6)
59+
activestorage (7.2.3.1)
60+
actionpack (= 7.2.3.1)
61+
activejob (= 7.2.3.1)
62+
activerecord (= 7.2.3.1)
63+
activesupport (= 7.2.3.1)
6964
marcel (~> 1.0)
70-
activesupport (7.1.6)
65+
activesupport (7.2.3.1)
7166
base64
7267
benchmark (>= 0.3)
7368
bigdecimal
74-
concurrent-ruby (~> 1.0, >= 1.0.2)
69+
concurrent-ruby (~> 1.0, >= 1.3.1)
7570
connection_pool (>= 2.2.5)
7671
drb
7772
i18n (>= 1.6, < 2)
7873
logger (>= 1.4.2)
79-
minitest (>= 5.1)
80-
mutex_m
74+
minitest (>= 5.1, < 6)
8175
securerandom (>= 0.3)
82-
tzinfo (~> 2.0)
76+
tzinfo (~> 2.0, >= 2.0.5)
8377
addressable (2.8.9)
8478
public_suffix (>= 2.0.2, < 8.0)
8579
base64 (0.3.0)
@@ -141,11 +135,8 @@ GEM
141135
matrix (0.4.3)
142136
mini_mime (1.1.5)
143137
mini_portile2 (2.8.9)
144-
minitest (6.0.2)
145-
drb (~> 2.0)
146-
prism (~> 1.5)
138+
minitest (5.27.0)
147139
msgpack (1.8.0)
148-
mutex_m (0.3.0)
149140
net-imap (0.6.3)
150141
date
151142
net-protocol
@@ -173,43 +164,43 @@ GEM
173164
date
174165
stringio
175166
public_suffix (7.0.5)
176-
puma (5.6.9)
167+
puma (6.6.1)
177168
nio4r (~> 2.0)
178169
racc (1.8.1)
179-
rack (2.2.22)
180-
rack-session (1.0.2)
181-
rack (< 3)
170+
rack (3.2.5)
171+
rack-session (2.1.1)
172+
base64 (>= 0.1.0)
173+
rack (>= 3.0.0)
182174
rack-test (2.2.0)
183175
rack (>= 1.3)
184-
rackup (1.0.1)
185-
rack (< 3)
186-
webrick
187-
rails (7.1.6)
188-
actioncable (= 7.1.6)
189-
actionmailbox (= 7.1.6)
190-
actionmailer (= 7.1.6)
191-
actionpack (= 7.1.6)
192-
actiontext (= 7.1.6)
193-
actionview (= 7.1.6)
194-
activejob (= 7.1.6)
195-
activemodel (= 7.1.6)
196-
activerecord (= 7.1.6)
197-
activestorage (= 7.1.6)
198-
activesupport (= 7.1.6)
176+
rackup (2.3.1)
177+
rack (>= 3)
178+
rails (7.2.3.1)
179+
actioncable (= 7.2.3.1)
180+
actionmailbox (= 7.2.3.1)
181+
actionmailer (= 7.2.3.1)
182+
actionpack (= 7.2.3.1)
183+
actiontext (= 7.2.3.1)
184+
actionview (= 7.2.3.1)
185+
activejob (= 7.2.3.1)
186+
activemodel (= 7.2.3.1)
187+
activerecord (= 7.2.3.1)
188+
activestorage (= 7.2.3.1)
189+
activesupport (= 7.2.3.1)
199190
bundler (>= 1.15.0)
200-
railties (= 7.1.6)
191+
railties (= 7.2.3.1)
201192
rails-dom-testing (2.3.0)
202193
activesupport (>= 5.0.0)
203194
minitest
204195
nokogiri (>= 1.6)
205196
rails-html-sanitizer (1.7.0)
206197
loofah (~> 2.25)
207198
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
208-
railties (7.1.6)
209-
actionpack (= 7.1.6)
210-
activesupport (= 7.1.6)
199+
railties (7.2.3.1)
200+
actionpack (= 7.2.3.1)
201+
activesupport (= 7.2.3.1)
211202
cgi
212-
irb
203+
irb (~> 1.13)
213204
rackup (>= 1.0.0)
214205
rake (>= 12.2)
215206
thor (~> 1.0, >= 1.2.2)
@@ -253,6 +244,7 @@ GEM
253244
concurrent-ruby (~> 1.0)
254245
tzinfo-data (1.2014.5)
255246
tzinfo (>= 1.0.0)
247+
useragent (0.16.11)
256248
web-console (4.2.1)
257249
actionview (>= 6.0.0)
258250
activemodel (>= 6.0.0)
@@ -262,7 +254,6 @@ GEM
262254
nokogiri (~> 1.6)
263255
rubyzip (>= 1.3.0)
264256
selenium-webdriver (~> 4.0, < 4.11)
265-
webrick (1.9.2)
266257
websocket-driver (0.8.0)
267258
base64
268259
websocket-extensions (>= 0.1.0)
@@ -283,9 +274,8 @@ DEPENDENCIES
283274
debug
284275
importmap-rails
285276
jbuilder
286-
puma (~> 5.6)
287-
rack (~> 2.2.15)
288-
rails (~> 7.1.5)
277+
puma (~> 6.0)
278+
rails (~> 7.2.3.1)
289279
selenium-webdriver
290280
sprockets-rails
291281
sqlite3 (~> 1.4)

0 commit comments

Comments
 (0)