Bug 2524416 - CVE-2026-47242 ruby: Net::IMAP: Arbitrary IMAP command injection due to improper input validation [fedora-all]
Summary: CVE-2026-47242 ruby: Net::IMAP: Arbitrary IMAP command injection due to impro...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ruby
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["07fd3018-8fb3-41e2-a409-8...
Depends On:
Blocks: CVE-2026-47242
TreeView+ depends on / blocked
 
Reported: 2026-08-26 14:43 UTC by Lukas Javorsky
Modified: 2026-08-26 15:21 UTC (History)
5 users (show)

Fixed In Version: ruby-4.0.6-36.fc45, ruby-4.0.6-36.fc44, ruby-3.4.10-31.fc43
Clone Of:
Environment:
Last Closed: 2026-08-26 15:21:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lukas Javorsky 2026-08-26 14:43:21 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, when Net::IMAP#id is called with a hash argument, although the ID field value strings are correctly quoted (escaping quoted specials), they were not validated to prohibit CRLF sequences. While Net::IMAP#enable does process its arguments for aliases, it does not validate them as valid atoms (or as a list of valid atoms). The #to_s value is sent verbatim. Arguments to either command could be used by an attacker to inject arbitrary IMAP commands. This vulnerability is fixed in 0.6.5 and 0.5.15.


Note You need to log in before you can comment on or make changes to this bug.