Skip to content

Commit 017d54d

Browse files
authored
fix(security): patch json-jwt dependency vulnerabilities (#660)
Upgraded json-jwt to >= 1.16 to resolve CVE-2023-51774
1 parent 28a7d43 commit 017d54d

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ gem 'httparty', '0.18.1'
3535
gem 'ipaddress', '0.8.3'
3636
gem 'openid_connect', '1.4.2'
3737
gem 'json'
38-
gem 'json-jwt', '1.15.0'
38+
gem 'json-jwt', '>= 1.16'
3939
gem 'deepsort'

Gemfile.lock

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PATH
1010
httparty
1111
ipaddress
1212
json
13-
json-jwt (~> 1.15.0)
13+
json-jwt (>= 1.16.0)
1414
jwt
1515
openid_connect (= 1.4.2)
1616
rack-cors
@@ -83,8 +83,9 @@ GEM
8383
arel-helpers (2.14.0)
8484
activerecord (>= 3.1.0, < 8)
8585
attr_required (1.0.1)
86+
base64 (0.2.0)
8687
bcrypt (3.1.18)
87-
bindata (2.4.14)
88+
bindata (2.5.0)
8889
builder (3.2.4)
8990
byebug (11.1.3)
9091
concurrent-ruby (1.1.10)
@@ -94,6 +95,12 @@ GEM
9495
diff-lcs (1.5.0)
9596
docile (1.4.0)
9697
erubi (1.12.0)
98+
faraday (2.9.0)
99+
faraday-net_http (>= 2.0, < 3.2)
100+
faraday-follow_redirects (0.3.0)
101+
faraday (>= 1, < 3)
102+
faraday-net_http (3.1.0)
103+
net-http
97104
forestadmin-jsonapi-serializers (2.0.0.pre.beta.2)
98105
activesupport
99106
globalid (1.0.0)
@@ -108,11 +115,13 @@ GEM
108115
concurrent-ruby (~> 1.0)
109116
ipaddress (0.8.3)
110117
json (2.6.3)
111-
json-jwt (1.15.0)
118+
json-jwt (1.16.6)
112119
activesupport (>= 4.2)
113120
aes_key_wrap
121+
base64
114122
bindata
115-
httpclient
123+
faraday (~> 2.0)
124+
faraday-follow_redirects
116125
jwt (2.6.0)
117126
loofah (2.19.1)
118127
crass (~> 1.0.2)
@@ -131,6 +140,8 @@ GEM
131140
mini_portile2 (2.8.1)
132141
minitest (5.17.0)
133142
multi_xml (0.6.0)
143+
net-http (0.4.1)
144+
uri
134145
net-imap (0.3.4)
135146
date
136147
net-protocol
@@ -235,6 +246,7 @@ GEM
235246
timeout (0.3.1)
236247
tzinfo (2.0.5)
237248
concurrent-ruby (~> 1.0)
249+
uri (0.13.0)
238250
useragent (0.16.10)
239251
validate_email (0.1.6)
240252
activemodel (>= 3.0)
@@ -264,7 +276,7 @@ DEPENDENCIES
264276
httparty (= 0.18.1)
265277
ipaddress (= 0.8.3)
266278
json
267-
json-jwt (= 1.15.0)
279+
json-jwt (>= 1.16)
268280
jwt
269281
openid_connect (= 1.4.2)
270282
rack-cors

forest_liana.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
2828
s.add_runtime_dependency "httparty"
2929
s.add_runtime_dependency "ipaddress"
3030
s.add_runtime_dependency "json"
31-
s.add_runtime_dependency "json-jwt", "~> 1.15.0"
31+
s.add_runtime_dependency "json-jwt", ">= 1.16.0"
3232
s.add_runtime_dependency "openid_connect", "1.4.2"
3333
s.add_runtime_dependency "deepsort"
3434
end

0 commit comments

Comments
 (0)