Inefficient Regular Expression Complexity Affecting ruby2.5 package, versions <2.5.9-150000.4.29.1
Threat Intelligence
EPSS
0.3% (70th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES151-RUBY25-6034014
- published 25 Oct 2023
- disclosed 24 Oct 2023
Introduced: 24 Oct 2023
CVE-2023-28756 Open this link in a new tabHow to fix?
Upgrade SLES:15.1 ruby2.5 to version 2.5.9-150000.4.29.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ruby2.5 package and not the ruby2.5 package as distributed by SLES.
See How to fix? for SLES:15.1 relevant fixed versions and status.
A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1. The Time parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to Time objects. The fixed versions are 0.1.1 and 0.2.2.
References
- https://www.suse.com/security/cve/CVE-2023-28756.html
- https://bugzilla.suse.com/1209967
- https://bugzilla.suse.com/1212739
- https://github.com/ruby/time/releases/
- https://www.ruby-lang.org/en/downloads/releases/
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
- https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T/
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- https://security.netapp.com/advisory/ntap-20230526-0004/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z/
- https://security.gentoo.org/glsa/202401-27
CVSS Scores
version 3.1