Inefficient regular expression complexity in REXML - CVE-2024-49761
Published: October 28, 2024
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient input validation when parsing an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;). A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.
Affected software
Gentoo Linux
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
macOS
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Oracle Solaris
Software Support app (Android)
APEX Cloud Platform for Microsoft Azure
IBM Cloud Pak for Watson AIOps
Storage Resource Manager
Logstash
APEX Cloud Platform for Red Hat OpenShift
PowerProtect Data Manager
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libruby2.5 (Ubuntu package)
ruby2.5 (Ubuntu package)
libruby2.3 (Ubuntu package)
ruby2.3 (Ubuntu package)
rubygem-net-telnet
rubygem-abrt-doc
rubygem-abrt
rubygem-xmlrpc
rubygem-io-console
rubygem-mysql2
rubygem-mysql2-doc
pcs (Red Hat package)
pcs
pcs-snmp
rubygem-pg-doc
rubygem-pg
rubygem-power_assert
rubygem-did_you_mean
rubygem-bigdecimal
rubygem-bundler-doc
rubygem-bundler
rubygem-json
rubygem-openssl
rubygem-mongo-doc
rubygem-mongo
ruby-help
ruby-devel
ruby-irb
ruby-debugsource
ruby-debuginfo
ruby
ruby-doc
ruby-libs
ruby2.5
ruby2.5-doc
ruby2.5-stdlib
libruby2_5-2_5-debuginfo
ruby2.5-debuginfo
ruby2.5-debugsource
ruby2.5-devel-extra
ruby2.5-stdlib-debuginfo
libruby2_5-2_5
ruby2.5-devel
ruby2.5-doc-ri
ruby2.7 (Ubuntu package)
libruby2.7 (Ubuntu package)
rubygems-devel
rubygems
rubygem-psych
ruby (Red Hat package)
ruby3.2 (Ubuntu package)
libruby3.2 (Ubuntu package)
rubygem-test-unit
libruby3.3 (Ubuntu package)
ruby3.3 (Ubuntu package)
dev-ruby/rexml
rubygem-bson
rubygem-bson-doc
rubygem-minitest
rubygem-rdoc
rubygem-rake
libruby3.0 (Ubuntu package)
ruby3.0 (Ubuntu package)
Dell EMC Storage Monitoring and Reporting (SMR)
How to mitigate CVE-2024-49761
Software Support app (Android) - update to 2.0.2
Logstash - update to 8.15.3
macOS - addressed in versions 14.8.2 23J126, 15.7.2 24G325, 26.1 25B78
libruby2.5 (Ubuntu package) - update to Ubuntu Pro
ruby2.5 (Ubuntu package) - update to Ubuntu Pro
libruby2.3 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
ruby2.3 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
rubygem-net-telnet - update to 0.1.1-113.0.1
rubygem-net-telnet - update to 0.1.1-131
rubygem-abrt-doc - update to 0.3.0-4
rubygem-abrt - update to 0.3.0-4
rubygem-xmlrpc - update to 0.3.0-113.0.1
rubygem-xmlrpc - update to 0.3.0-131
rubygem-io-console - update to 0.4.6-113.0.1
rubygem-io-console - update to 0.4.6-131
rubygem-mysql2 - update to 0.4.10-4
rubygem-mysql2-doc - update to 0.4.10-4
pcs (Red Hat package) - addressed in versions 0.10.12-6.el8_6.9, 0.10.15-4.el8_8.8, 0.10.18-2.el8_10.6, 0.11.1-10.el9_0.6
pcs - update to 0.10.18-2.0.1
pcs-snmp - update to 0.10.18-2.0.1
rubygem-pg-doc - update to 1.0.0-3.0.1
rubygem-pg - update to 1.0.0-3.0.1
rubygem-power_assert - update to 1.1.1-113.0.1
rubygem-power_assert - update to 1.1.1-131
rubygem-did_you_mean - update to 1.2.0-113.0.1
rubygem-did_you_mean - update to 1.2.0-131
rubygem-bigdecimal - update to 1.3.4-113.0.1
rubygem-bigdecimal - update to 1.3.4-131
APEX Cloud Platform for Microsoft Azure - update to 01.04.01.00
rubygem-bundler-doc - update to 1.16.1-4
rubygem-bundler - update to 1.16.1-4
rubygem-json - update to 2.1.0-113.0.1
rubygem-json - update to 2.1.0-131
rubygem-openssl - update to 2.1.2-113.0.1
rubygem-openssl - update to 2.1.2-131
rubygem-mongo-doc - update to 2.5.1-2
rubygem-mongo - update to 2.5.1-2
ruby-help - update to 2.5.8-131
ruby-devel - update to 2.5.8-131
ruby-irb - update to 2.5.8-131
ruby-debugsource - update to 2.5.8-131
ruby-debuginfo - update to 2.5.8-131
ruby - update to 2.5.8-131
ruby-irb - update to 2.5.9-113.0.1
ruby-doc - update to 2.5.9-113.0.1
ruby - update to 2.5.9-113.0.1
ruby-devel - update to 2.5.9-113.0.1
ruby-libs - update to 2.5.9-113.0.1
ruby2.5 - addressed in versions 2.5.9-150000.4.36.1, 2.5.9-150700.24.3.1, 2.5.9-150700.24.6.1
ruby2.5-doc - update to 2.5.9-150000.4.36.1
ruby2.5-stdlib - addressed in versions 2.5.9-150000.4.36.1, 2.5.9-150700.24.3.1, 2.5.9-150700.24.6.1
libruby2_5-2_5-debuginfo - addressed in versions 2.5.9-150000.4.36.1, 2.5.9-150700.24.3.1, 2.5.9-150700.24.6.1
ruby2.5-debuginfo - addressed in versions 2.5.9-150000.4.36.1, 2.5.9-150700.24.3.1, 2.5.9-150700.24.6.1
ruby2.5-debugsource - addressed in versions 2.5.9-150000.4.36.1, 2.5.9-150700.24.3.1, 2.5.9-150700.24.6.1
ruby2.5-devel-extra - addressed in versions 2.5.9-150000.4.36.1, 2.5.9-150700.24.3.1, 2.5.9-150700.24.6.1
ruby2.5-stdlib-debuginfo - addressed in versions 2.5.9-150000.4.36.1, 2.5.9-150700.24.3.1, 2.5.9-150700.24.6.1
libruby2_5-2_5 - addressed in versions 2.5.9-150000.4.36.1, 2.5.9-150700.24.3.1, 2.5.9-150700.24.6.1
ruby2.5-devel - addressed in versions 2.5.9-150000.4.36.1, 2.5.9-150700.24.3.1, 2.5.9-150700.24.6.1
ruby2.5-doc-ri - update to 2.5.9-150000.4.36.1
ruby2.7 (Ubuntu package) - update to 2.7.0-5ubuntu1.15
libruby2.7 (Ubuntu package) - update to 2.7.0-5ubuntu1.15
rubygems-devel - update to 2.7.6.3-113.0.1
rubygems - update to 2.7.6.3-113.0.1
rubygems-devel - update to 2.7.6-131
rubygems - update to 2.7.6-131
libruby3.0 (Ubuntu package) - update to 3.0.2-7ubuntu2.8
ruby3.0 (Ubuntu package) - update to 3.0.2-7ubuntu2.8
rubygem-psych - update to 3.0.2-113.0.1
rubygem-psych - update to 3.0.2-131
ruby (Red Hat package) - addressed in versions 3.0.4-160.1.el9_0, 3.0.4-161.el9_2.2, 3.0.7-162.el9_4.1, 3.0.7-163.el9_5
ruby3.2 (Ubuntu package) - update to 3.2.3-1ubuntu0.24.04.3
libruby3.2 (Ubuntu package) - update to 3.2.3-1ubuntu0.24.04.3
APEX Cloud Platform for Red Hat OpenShift - update to 03.02.04.00
rubygem-test-unit - update to 3.2.7-113.0.1
rubygem-test-unit - update to 3.2.7-131
libruby3.3 (Ubuntu package) - update to 3.3.4-2ubuntu5.1
ruby3.3 (Ubuntu package) - update to 3.3.4-2ubuntu5.1
dev-ruby/rexml - update to 3.3.9
rubygem-bson - update to 4.3.0-2
rubygem-bson-doc - update to 4.3.0-2
IBM Cloud Pak for Watson AIOps - update to 4.8.0
Dell EMC Storage Monitoring and Reporting (SMR) - addressed in versions 5.0.2.2, 5.1.0.0
Storage Resource Manager - addressed in versions 5.0.2.2, 5.1.0.0
rubygem-minitest - update to 5.10.3-113.0.1
rubygem-minitest - update to 5.10.3-131
rubygem-rdoc - update to 6.0.1.1-113.0.1
rubygem-rdoc - update to 6.0.1.1-131
Oracle Solaris - addressed in versions 11.3 ESU 36.34, 11.4 SRU 80
rubygem-rake - update to 12.3.0-131
rubygem-rake - update to 12.3.3-113.0.1
PowerProtect Data Manager - update to 19.19.0-15
External References
Related Security Bulletins
- Regular expression denial of service in REXML gem
- Ubuntu update for ruby3.0
- openEuler update for ruby
- Ubuntu update for ruby2.7
- Red Hat Enterprise Linux 9 update for pcs
- Red Hat Enterprise Linux 8 update for the ruby:3.1 module
- Red Hat Enterprise Linux 8 update for the ruby:2.5 module
- Red Hat Enterprise Linux 9 update for ruby
- Red Hat Enterprise Linux 9 update for the ruby:3.1 module
- Red Hat Enterprise Linux 9 update for ruby
- Red Hat Enterprise Linux 9 update for ruby
- Red Hat Enterprise Linux 8 update for the ruby:3.1 module
- Red Hat Enterprise Linux 9 update for ruby
- Red Hat Enterprise Linux 9 update for the ruby:3.1 module
- Red Hat Enterprise Linux 8 update for the ruby:2.5 module
- Red Hat Enterprise Linux 8 update for the ruby:2.5 module
- Red Hat Enterprise Linux 8 update for the ruby:2.5 module
- Red Hat Enterprise Linux 8 update for the ruby:2.5 module
- Multiple vulnerabilities in IBM Cloud Pak for AIOps
- Red Hat Enterprise Linux 9 update for the ruby:3.1 module
- SUSE update for ruby2.5
- Anolis OS update for ruby:2.5 module
- Logstash update for REXML
- Multiple vulnerabilities in IBM Software Support app (Android)
- Oracle Solaris update for third-party components
- Ubuntu update for ruby2.3
- Dell APEX Cloud Platform for Red Hat OpenShift update for third-party components
- Multiple vulnerabilities in Dell PowerProtect Data Manager
- Dell APEX Cloud Platform for Microsoft Azure update for third-party components
- Multiple vulnerabilities in Dell Storage Resource Manager (SRM) and Dell Storage Monitoring and Reporting (SMR)
- Multiple vulnerabilities in Dell Storage Resource Manager (SRM) and Dell Storage Monitoring and Reporting (SMR)
- Gentoo update for REXML
- Red Hat Enterprise Linux 8 update for pcs
- Anolis OS update for pcs
- Red Hat Enterprise Linux 8 update for pcs
- Red Hat Enterprise Linux 8 update for pcs
- Multiple vulnerabilities in Apple macOS Tahoe
- Multiple vulnerabilities in macOS Sequoia
- Multiple vulnerabilities in Apple macOS Sonoma
- SUSE update for ruby2.5
- SUSE update for ruby2.5