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.
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes trailing special elements that could be interpreted in unexpected ways when they are sent to a downstream component.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | RedHat | ruby4.0-0:4.0.6-36.el10_2 | * |
| Red Hat Enterprise Linux 10 | RedHat | ruby-0:3.3.12-14.el10_2 | * |
| Red Hat Enterprise Linux 8 | RedHat | ruby:3.3-8100020260727154509.489197e6 | * |
| Red Hat Enterprise Linux 9 | RedHat | ruby:4.0-9080020260727092509.9 | * |
| Red Hat Enterprise Linux 9 | RedHat | ruby:3.3-9080020260728061751.9 | * |
| Red Hat Hardened Images | RedHat | ruby4-0-main-4.0.0-33.4.hum1 | * |
| Red Hat Hardened Images | RedHat | ruby3-4-main-3.4.8-31.3.hum1 | * |
| Red Hat Hardened Images | RedHat | ruby3-3-main-3.3.10-23.4.hum1 | * |
| Jruby | Ubuntu | questing | * |
| Ruby3.3 | Ubuntu | questing | * |