Skip to content

Commit e19c630

Browse files
committed
Update or patch other deps
1 parent caf8841 commit e19c630

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.bundler-audit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
ignore:
33
- CVE-2024-27456 # https://github.com/advisories/GHSA-785g-282q-pwvx (packaging issue with rack-cors)
44
- CVE-2024-54133 # https://github.com/rails/rails/security/advisories/GHSA-vfm5-rmrh-j26v (We don’t generate CSP from user input)
5+
- CVE-2026-32700 # https://github.com/heartcombo/devise/security/advisories/GHSA-57hq-95w6-v4fc (User model patched)

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ GEM
9292
babel-source (>= 4.0, < 6)
9393
execjs (~> 2.0)
9494
base64 (0.3.0)
95-
bcrypt (3.1.20)
95+
bcrypt (3.1.22)
9696
benchmark (0.5.0)
9797
bigdecimal (4.0.1)
9898
blockenspiel (0.5.0)
@@ -154,7 +154,7 @@ GEM
154154
jquery-turbolinks (2.1.0)
155155
railties (>= 3.1.0)
156156
turbolinks
157-
json (2.15.2)
157+
json (2.19.2)
158158
json_schemer (2.4.0)
159159
bigdecimal
160160
hana (~> 1.3)

app/models/user.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,10 @@ def allowed_organizations
4646
def password_required?
4747
!persisted? || !password.nil? || !password_confirmation.nil?
4848
end
49+
50+
# Address <https://github.com/heartcombo/devise/security/advisories/GHSA-57hq-95w6-v4fc> without updating Devise
51+
def postpone_email_change_until_confirmation_and_regenerate_confirmation_token
52+
unconfirmed_email_will_change!
53+
super
54+
end
4955
end

0 commit comments

Comments
 (0)