Skip to content

Commit 2aeab19

Browse files
author
William Tsai
committed
Fix CVE-2025-61594 security warning
1 parent a179cb3 commit 2aeab19

7 files changed

Lines changed: 45 additions & 35 deletions

File tree

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ stages:
1111

1212
rspec:
1313
stage: rspec
14-
image: ruby:3.4.5
14+
image: ruby:3.4.8
1515
tags:
1616
- arm64
1717
script:
@@ -22,7 +22,7 @@ rspec:
2222

2323
to_gem:
2424
stage: publish
25-
image: ruby:3.4.5
25+
image: ruby:3.4.8
2626
tags:
2727
- arm64
2828
script:

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.5
1+
3.4.8

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [2.0.3] - 2025-12-31
2+
- Update Faraday to version `2.14.0`.
3+
- Update faraday-multipart to version `1.2.0`.
4+
- Update uri to version `1.1.1` for [CVE-2025-61594](https://www.ruby-lang.org/en/news/2025/10/07/uri-cve-2025-61594/) URI Credential Leakage Bypass vulnerability warning.
5+
- Update CI to use Ruby 3.4.8.
6+
17
## [2.0.2] - 2025-09-23
28
- Update REXML to version `3.4.4` for [CVE-2025-58767](https://www.ruby-lang.org/en/news/2025/09/18/dos-rexml-cve-2025-58767/) DoS vulnerability warning.
39

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ source 'https://rubygems.org'
33
gemspec
44

55
# Simple, but flexible HTTP client library, with support for multiple backends.
6-
gem 'faraday', '~> 2.13.4'
6+
gem 'faraday', '~> 2.14.0'
77
# Perform multipart-post requests using Faraday.
8-
gem 'faraday-multipart', '~> 1.1.1'
8+
gem 'faraday-multipart', '~> 1.2.0'

Gemfile.lock

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,60 @@
11
PATH
22
remote: .
33
specs:
4-
json_requester (2.0.2)
4+
json_requester (2.0.3)
55
faraday (~> 2.0, >= 2.0.1)
6-
faraday-multipart (~> 1.1.0)
6+
faraday-multipart (~> 1.2.0)
77

88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
addressable (2.8.7)
12-
public_suffix (>= 2.0.2, < 7.0)
13-
bigdecimal (3.2.3)
11+
addressable (2.8.8)
12+
public_suffix (>= 2.0.2, < 8.0)
13+
bigdecimal (4.0.1)
1414
coderay (1.1.3)
15-
crack (1.0.0)
15+
crack (1.0.1)
1616
bigdecimal
1717
rexml
1818
diff-lcs (1.6.2)
19-
faraday (2.13.4)
19+
faraday (2.14.0)
2020
faraday-net_http (>= 2.0, < 3.5)
2121
json
2222
logger
23-
faraday-multipart (1.1.1)
23+
faraday-multipart (1.2.0)
2424
multipart-post (~> 2.0)
25-
faraday-net_http (3.4.1)
26-
net-http (>= 0.5.0)
25+
faraday-net_http (3.4.2)
26+
net-http (~> 0.5)
2727
hashdiff (1.2.1)
28-
json (2.14.1)
28+
io-console (0.8.2)
29+
json (2.18.0)
2930
logger (1.7.0)
3031
method_source (1.1.0)
3132
multipart-post (2.4.1)
32-
net-http (0.6.0)
33-
uri
34-
pry (0.14.2)
33+
net-http (0.9.1)
34+
uri (>= 0.11.1)
35+
pry (0.16.0)
3536
coderay (~> 1.1)
3637
method_source (~> 1.0)
37-
public_suffix (6.0.2)
38+
reline (>= 0.6.0)
39+
public_suffix (7.0.0)
40+
reline (0.6.3)
41+
io-console (~> 0.5)
3842
rexml (3.4.4)
39-
rspec (3.13.1)
43+
rspec (3.13.2)
4044
rspec-core (~> 3.13.0)
4145
rspec-expectations (~> 3.13.0)
4246
rspec-mocks (~> 3.13.0)
43-
rspec-core (3.13.5)
47+
rspec-core (3.13.6)
4448
rspec-support (~> 3.13.0)
4549
rspec-expectations (3.13.5)
4650
diff-lcs (>= 1.2.0, < 2.0)
4751
rspec-support (~> 3.13.0)
48-
rspec-mocks (3.13.5)
52+
rspec-mocks (3.13.7)
4953
diff-lcs (>= 1.2.0, < 2.0)
5054
rspec-support (~> 3.13.0)
5155
rspec-support (3.13.6)
52-
uri (1.0.3)
53-
webmock (3.25.1)
56+
uri (1.1.1)
57+
webmock (3.26.1)
5458
addressable (>= 2.8.0)
5559
crack (>= 0.3.2)
5660
hashdiff (>= 0.4.0, < 2.0.0)
@@ -59,12 +63,12 @@ PLATFORMS
5963
ruby
6064

6165
DEPENDENCIES
62-
faraday (~> 2.13.4)
63-
faraday-multipart (~> 1.1.1)
66+
faraday (~> 2.14.0)
67+
faraday-multipart (~> 1.2.0)
6468
json_requester!
65-
pry (~> 0.14.2)
66-
rspec (~> 3.0)
67-
webmock (~> 3.25, >= 3.25.1)
69+
pry (~> 0.16.0)
70+
rspec (~> 3.13.0)
71+
webmock (~> 3.26, >= 3.26.0)
6872

6973
BUNDLED WITH
7074
2.7.2

VERSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.2
1+
2.0.3

json_requester.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Gem::Specification.new do |s|
2020

2121
s.required_ruby_version = '>= 3.0.0'
2222
s.add_runtime_dependency "faraday", "~> 2.0", ">= 2.0.1"
23-
s.add_runtime_dependency 'faraday-multipart', '~> 1.1.0'
23+
s.add_runtime_dependency 'faraday-multipart', '~> 1.2.0'
2424

25-
s.add_development_dependency 'pry', '~> 0.14.2'
26-
s.add_development_dependency "rspec", "~> 3.0"
27-
s.add_development_dependency "webmock", "~> 3.25", ">= 3.25.1"
25+
s.add_development_dependency 'pry', '~> 0.16.0'
26+
s.add_development_dependency "rspec", "~> 3.13.0"
27+
s.add_development_dependency "webmock", "~> 3.26", ">= 3.26.0"
2828
end

0 commit comments

Comments
 (0)