Incorrect Regular Expression Affecting rubygem-psych package, versions <0:4.0.4-142.module+el8.9.0+21471+7d1e4a35
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-CENTOS8-RUBYGEMPSYCH-5775189
- published 13 Jul 2023
- disclosed 29 Jun 2023
Introduced: 29 Jun 2023
CVE-2023-36617 Open this link in a new tabHow to fix?
Upgrade Centos:8 rubygem-psych to version 0:4.0.4-142.module+el8.9.0+21471+7d1e4a35 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream rubygem-psych package and not the rubygem-psych package as distributed by Centos.
See How to fix? for Centos:8 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://access.redhat.com/security/cve/CVE-2023-36617
- 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/