ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2021-41817

Details

Date.parse in the date gem through 3.2.0 for Ruby allows ReDoS (regular expression Denial of Service) via a long string. The fixed versions are 3.2.1, 3.1.2, 3.0.2, and 2.0.1.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSruby2.3
All versions before 2.3.1-2~ubuntu16.04.16+esm2 (fixed in 2.3.1-2~ubuntu16.04.16+esm2)
Ubuntu:18.04:LTSruby2.5
All versions before 2.5.1-1ubuntu1.11 (fixed in 2.5.1-1ubuntu1.11)
Ubuntu:20.04:LTSruby2.7
All versions before 2.7.0-5ubuntu1.6 (fixed in 2.7.0-5ubuntu1.6)
Ubuntu:22.04:LTSruby3.0
All versions before 3.0.2-7ubuntu2 (fixed in 3.0.2-7ubuntu2)

References