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 applicationsUpgrade RHEL:10 ruby-default-gems to version 0:3.3.12-14.el10_2 or higher.
This issue was patched in RHSA-2026:50778.
Note: Versions mentioned in the description apply only to the upstream ruby-default-gems package and not the ruby-default-gems package as distributed by RHEL.
See How to fix? for RHEL:10 relevant fixed versions and status.
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP commands accept a raw string argument which is only validated to prevent CRLF injection and then sent verbatim. If this string is derived from user-controlled input, an attacker can force the next command to be absorbed as a continuation of the first command. This will cause the first command to eventually fail, but also prevents it from returning until another command is sent (from another thread). That other command will not return until the connection is closed. This vulnerability is fixed in 0.6.5 and 0.5.15.