Incorrect Regular Expression in Date - CVE-2021-41817
Published: January 19, 2022
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 processing regular expressions on date parsing methods. 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 High Performance Computing 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 High Performance Computing LTSS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Basesystem
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Fedora
cflinuxfs3
ObjectScale
Red Hat Software Collections
ruby2.5 (Debian package)
rh-ruby26-ruby (Red Hat package)
ruby2.7 (Debian package)
rh-ruby27-ruby (Red Hat package)
rh-ruby30-ruby (Red Hat package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
rubygem-net-telnet
rubygem-rss
rubygem-abrt-doc
rubygem-abrt
rubygem-xmlrpc
rubygem-io-console
rubygem-mysql2
rubygem-mysql2-doc
rubygem-typeprof
rubygem-pg
rubygem-pg-doc
rubygem-irb
rubygem-power_assert
rubygem-did_you_mean
rubygem-bigdecimal
rubygem-rbs
rubygem-bundler
rubygem-bundler-doc
rubygem-json
rubygem-openssl
ruby2.3 (Ubuntu package)
ruby2.5 (Ubuntu package)
rubygem-mongo
rubygem-mongo-doc
ruby
ruby-debuginfo
ruby-debugsource
ruby-devel
ruby-help
ruby-irb
ruby-doc
ruby-libs
libruby2_5-2_5-debuginfo
ruby2.5
ruby2.5-debuginfo
libruby2_5-2_5
ruby2.5-debugsource
ruby2.5-devel
ruby2.5-devel-extra
ruby2.5-doc
ruby2.5-stdlib
ruby2.5-stdlib-debuginfo
ruby2.5-doc-ri
ruby2.7 (Ubuntu package)
rubygems-devel
rubygems
ruby-default-gems
rubygem-psych
rubygem-rexml
rubygem-test-unit
rubygem-bson
rubygem-bson-doc
rubygem-minitest
rubygem-rdoc
rubygem-rake
Dell EMC VxRail Appliance
How to mitigate CVE-2021-41817
cflinuxfs3 - update to 0.272.0
ruby2.5 (Debian package) - update to 2.5.5-3+deb10u4
rh-ruby26-ruby (Red Hat package) - update to 2.6.9-120.el7
ruby2.7 (Debian package) - update to 2.7.4-1+deb11u1
rh-ruby27-ruby (Red Hat package) - update to 2.7.6-131.el7
rh-ruby30-ruby (Red Hat package) - update to 3.0.4-149.el7
rubygem-net-telnet - addressed in versions 0.1.1-110.0.1, 0.2.0-108, 0.2.0-138.0.1
rubygem-net-telnet - update to 0.1.1-132
rubygem-rss - update to 0.2.9-141.0.1
rubygem-abrt-doc - addressed in versions 0.3.0-4, 0.4.0-1
rubygem-abrt - addressed in versions 0.3.0-4, 0.4.0-1
rubygem-xmlrpc - addressed in versions 0.3.0-108, 0.3.0-110.0.1, 0.3.0-138.0.1
rubygem-xmlrpc - update to 0.3.0-132
rubygem-io-console - addressed in versions 0.4.6-110.0.1, 0.4.7-108, 0.5.6-138.0.1, 0.5.7-141.0.1
rubygem-io-console - update to 0.4.6-132
rubygem-mysql2 - addressed in versions 0.4.10-4, 0.5.3-1
rubygem-mysql2-doc - addressed in versions 0.4.10-4, 0.5.3-1
rubygem-typeprof - update to 0.15.2-141.0.1
rubygem-pg - addressed in versions 1.0.0-2.0.1, 1.1.4-1, 1.2.3-1, 1.2.3-1.0.1
rubygem-pg-doc - addressed in versions 1.0.0-2.0.1, 1.1.4-1, 1.2.3-1, 1.2.3-1.0.1
rubygem-irb - addressed in versions 1.0.0-108, 1.2.6-138.0.1, 1.3.5-141.0.1
rubygem-power_assert - addressed in versions 1.1.1-110.0.1, 1.1.3-108, 1.1.7-138.0.1, 1.2.0-141.0.1
rubygem-power_assert - update to 1.1.1-132
rubygem-did_you_mean - addressed in versions 1.2.0-110.0.1, 1.3.0-108
rubygem-did_you_mean - update to 1.2.0-132
rubygem-bigdecimal - addressed in versions 1.3.4-110.0.1, 1.4.1-108, 2.0.0-138.0.1, 3.0.0-141.0.1
rubygem-bigdecimal - update to 1.3.4-132
ObjectScale - update to 1.4.0
rubygem-rbs - update to 1.4.0-141.0.1
rubygem-bundler - addressed in versions 1.16.1-4, 1.17.2-108, 2.2.24-138.0.1, 2.2.33-141.0.1
rubygem-bundler-doc - update to 1.16.1-4
rubygem-json - addressed in versions 2.1.0-108, 2.1.0-110.0.1, 2.3.0-138.0.1, 2.5.1-141.0.1
rubygem-json - update to 2.1.0-132
rubygem-openssl - addressed in versions 2.1.2-108, 2.1.2-110.0.1, 2.1.3-138.0.1
rubygem-openssl - update to 2.1.2-132
ruby2.3 (Ubuntu package) - update to 2.3.12~ubuntu16.04.16+esm3
ruby2.5 (Ubuntu package) - update to 2.5.1-1ubuntu1.11
rubygem-mongo - addressed in versions 2.5.1-2, 2.8.0-1, 2.11.3-1
rubygem-mongo-doc - addressed in versions 2.5.1-2, 2.8.0-1, 2.11.3-1
ruby - update to 2.5.8-132
ruby-debuginfo - update to 2.5.8-132
ruby-debugsource - update to 2.5.8-132
ruby-devel - update to 2.5.8-132
ruby-help - update to 2.5.8-132
ruby-irb - update to 2.5.8-132
ruby-doc - addressed in versions 2.5.9-110.0.1, 2.6.9-108, 2.7.6-138.0.1, 3.0.4-141.0.1
ruby-irb - update to 2.5.9-110.0.1
ruby - addressed in versions 2.5.9-110.0.1, 2.6.9-108, 2.7.6-138.0.1, 3.0.4-141.0.1
ruby-devel - addressed in versions 2.5.9-110.0.1, 2.6.9-108, 2.7.6-138.0.1, 3.0.4-141.0.1
ruby-libs - addressed in versions 2.5.9-110.0.1, 2.6.9-108, 2.7.6-138.0.1, 3.0.4-141.0.1
libruby2_5-2_5-debuginfo - addressed in versions 2.5.9-150000.4.23.1, 2.5.9-150000.4.29.1
ruby2.5 - addressed in versions 2.5.9-150000.4.23.1, 2.5.9-150000.4.29.1
ruby2.5-debuginfo - addressed in versions 2.5.9-150000.4.23.1, 2.5.9-150000.4.29.1
libruby2_5-2_5 - addressed in versions 2.5.9-150000.4.23.1, 2.5.9-150000.4.29.1
ruby2.5-debugsource - addressed in versions 2.5.9-150000.4.23.1, 2.5.9-150000.4.29.1
ruby2.5-devel - addressed in versions 2.5.9-150000.4.23.1, 2.5.9-150000.4.29.1
ruby2.5-devel-extra - addressed in versions 2.5.9-150000.4.23.1, 2.5.9-150000.4.29.1
ruby2.5-doc - addressed in versions 2.5.9-150000.4.23.1, 2.5.9-150000.4.29.1
ruby2.5-stdlib - addressed in versions 2.5.9-150000.4.23.1, 2.5.9-150000.4.29.1
ruby2.5-stdlib-debuginfo - addressed in versions 2.5.9-150000.4.23.1, 2.5.9-150000.4.29.1
ruby2.5-doc-ri - addressed in versions 2.5.9-150000.4.23.1, 2.5.9-150000.4.29.1
ruby2.7 (Ubuntu package) - addressed in versions 2.7.0-5ubuntu1.6, 2.7.2-4ubuntu1.3, 2.7.4-1ubuntu3.1
rubygems-devel - addressed in versions 2.7.6.3-110.0.1, 3.0.3.1-108, 3.1.6-138.0.1, 3.2.33-141.0.1
rubygems - addressed in versions 2.7.6.3-110.0.1, 3.0.3.1-108, 3.1.6-138.0.1, 3.2.33-141.0.1
rubygems-devel - update to 2.7.6-132
rubygems - update to 2.7.6-132
ruby-default-gems - addressed in versions 2.7.6-138.0.1, 3.0.4-141.0.1
rubygem-psych - addressed in versions 3.0.2-110.0.1, 3.1.0-108, 3.1.0-138.0.1, 3.3.2-141.0.1
rubygem-psych - update to 3.0.2-132
ruby - addressed in versions 3.0.4-153.fc34, 3.0.4-153.fc35
rubygem-rexml - update to 3.2.5-141.0.1
rubygem-test-unit - addressed in versions 3.2.7-110.0.1, 3.2.9-108, 3.3.4-138.0.1, 3.3.7-141.0.1
rubygem-test-unit - update to 3.2.7-132
rubygem-bson - addressed in versions 4.3.0-2, 4.5.0-1, 4.8.1-1
rubygem-bson-doc - addressed in versions 4.3.0-2, 4.5.0-1, 4.8.1-1
rubygem-minitest - addressed in versions 5.10.3-110.0.1, 5.11.3-108, 5.13.0-138.0.1, 5.14.2-141.0.1
rubygem-minitest - update to 5.10.3-132
rubygem-rdoc - addressed in versions 6.0.1.1-110.0.1, 6.1.2.1-108, 6.2.1.1-138.0.1, 6.3.3-141.0.1
rubygem-rdoc - update to 6.0.1.1-132
Dell EMC VxRail Appliance - update to 8.0.000
rubygem-rake - update to 12.3.0-132
rubygem-rake - addressed in versions 12.3.3-108, 12.3.3-110.0.1, 13.0.1-138.0.1, 13.0.3-141.0.1
External References
Related Security Bulletins
- Denial of service in Date gem for Ruby
- Multiple vulnerabilities in cflinuxfs3
- Debian update for ruby2.5
- Debian update for ruby2.7
- Red Hat Enterprise Linux 8.4 update for the ruby:2.6 module
- Red Hat Enterprise Linux 8 update for the ruby:2.6 module
- Red Hat Enterprise Linux 8.1 update for the ruby:2.6 module
- Red Hat Enterprise Linux 8.2 update for the ruby:2.6 module
- Red Hat Software Collections update for rh-ruby26-ruby
- Ubuntu update for ruby2.3
- Red Hat Enterprise Linux 8 update for the ruby:2.5 module
- Red Hat Enterprise Linux 8 update for the ruby:3.0 module
- Red Hat Enterprise Linux 8 update for the ruby:2.7 module
- Red Hat Software Collections update for rh-ruby27-ruby
- Red Hat Software Collections update for rh-ruby30-ruby
- Multiple vulnerabilities in Dell VxRail Appliance components
- SUSE update for ruby2.5
- SUSE update for ruby2.5
- Gentoo update for Ruby
- Multiple vulnerabilities in Dell ObjectScale
- Fedora 35 update for ruby
- Fedora 34 update for ruby
- openEuler 20.03 LTS SP4 update for ruby
- Anolis OS update for ruby:2.5 module
- Anolis OS update for ruby:2.7 module
- Anolis OS update for ruby:3.0 module
- Anolis OS update for ruby:2.6 module