Inefficient Regular Expression Complexity Affecting ruby-3.1 package, versions <3.1.4-r2
Threat Intelligence
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-CHAINGUARDLATEST-RUBY31-5862806
- published 28 Aug 2023
- disclosed 29 Jun 2023
Introduced: 29 Jun 2023
CVE-2023-36617 Open this link in a new tabHow to fix?
Upgrade Chainguard
ruby-3.1
to version 3.1.4-r2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ruby-3.1
package and not the ruby-3.1
package as distributed by Chainguard
.
See How to fix?
for Chainguard
relevant fixed versions and status.
A ReDoS issue was discovered in the URI component before 0.12.2 for Ruby. The URI parser mishandles invalid URLs that have specific characters. There is an increase in execution time for parsing strings to URI objects with rfc2396_parser.rb and rfc3986_parser.rb. NOTE: this issue exists becuse of an incomplete fix for CVE-2023-28755. Version 0.10.3 is also a fixed version.
References
- https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/
- https://security.netapp.com/advisory/ntap-20230725-0002/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA6XUKUY7B5OLNQBLHOT43UW7C5NIOQQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/