Skip to content

Commit b74c7db

Browse files
ngjunsiangclaude
andcommitted
Security: upgrade rexml to 3.4.4 to fix DoS vulnerability
Updates rexml from 3.3.9 to 3.4.4 to address CVE-2024-41923 (DoS condition when parsing malformed XML files). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent e7b630b commit b74c7db

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

Gemfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ end
3737
# Performance-booster for watching directories on Windows
3838
gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin]
3939

40-
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
41-
# do not have a Java counterpart.
40+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer
41+
# versions of the gem do not have a Java counterpart.
4242
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
4343

4444
gem "webrick", "~> 1.9"
45+
46+
# Security fix for DoS vulnerability
47+
gem "rexml", ">= 3.4.2"

Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ GEM
6363
rb-fsevent (0.11.2)
6464
rb-inotify (0.11.1)
6565
ffi (~> 1.0)
66-
rexml (3.3.9)
66+
rexml (3.4.4)
6767
rouge (3.30.0)
6868
safe_yaml (1.0.5)
6969
sass (3.7.4)
@@ -84,6 +84,7 @@ DEPENDENCIES
8484
jekyll-feed (~> 0.12)
8585
logger
8686
monophase
87+
rexml (>= 3.4.2)
8788
tzinfo (>= 1, < 3)
8889
tzinfo-data
8990
wdm (~> 0.1)

0 commit comments

Comments
 (0)