نسخههای متأثر
Ubuntu18.04:LTS/ruby2.5
- نسخههای متأثر
- <2.5.1-1ubuntu1.11
- نسخهٔ اصلاحشده
- 2.5.1-1ubuntu1.11
Ubuntu20.04:LTS/ruby2.7
- نسخههای متأثر
- <2.7.0-5ubuntu1.6
- نسخهٔ اصلاحشده
- 2.7.0-5ubuntu1.6
Ubuntu22.04:LTS/ruby3.0
- نسخههای متأثر
- <3.0.2-7ubuntu2
- نسخهٔ اصلاحشده
- 3.0.2-7ubuntu2
UbuntuPro:16.04:LTS/ruby2.3
- نسخههای متأثر
- <2.3.1-2~ubuntu16.04.16+esm2
- نسخهٔ اصلاحشده
- 2.3.1-2~ubuntu16.04.16+esm2
شرح آسیبپذیری
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.
پیوندها
- https://github.com/ruby/date/commit/376c65942bd1d81803f14d37351737df60ec4664
- https://github.com/ruby/date/commit/3959accef8da5c128f8a8e2fd54e932a4fb253b0
- https://github.com/ruby/date/commit/8f2d7a0c7e52cea8333824bd527822e5449ed83d
- https://ubuntu.com/security/CVE-2021-41817
- https://ubuntu.com/security/notices/USN-5235-1
- https://www.cve.org/CVERecord?id=CVE-2021-41817
- https://www.ruby-lang.org/en/news/2021/11/15/date-parsing-method-regexp-dos-cve-2021-41817/

