CVE-2026-42258
CRITICAL9.8EPSS 0.09%net-imap vulnerable to command Injection via unvalidated Symbol inputs
發布日:2026/5/4修改日:2026/5/19
描述
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, symbol arguments to commands are vulnerable to a CRLF Injection / IMAP Command injection via Symbol arguments passed to IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.
受影響套件(4)
- Debian/ruby2.7from 0
- Debian/ruby3.1from 0
- Debian/ruby3.3from 0
- RubyGems/net-imap>= 0.6.0, < 0.6.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-42258
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-42258
- PATCHhttps://github.com/ruby/net-imap
- WEBhttps://github.com/ruby/net-imap/commit/6bf02aef7e0b5931010c36e377f79a71636b306b
- WEBhttps://github.com/ruby/net-imap/commit/9db3e9d60bfb8f3735ea95015bf8a700f4af9cbb
- WEBhttps://github.com/ruby/net-imap/commit/aec06996eb87a7e1bbcef1f9f8926e8add2b8c71
- WEBhttps://github.com/ruby/net-imap/releases/tag/v0.4.24
- WEBhttps://github.com/ruby/net-imap/releases/tag/v0.5.14
- WEBhttps://github.com/ruby/net-imap/releases/tag/v0.6.4
- WEBhttps://github.com/ruby/net-imap/security/advisories/GHSA-75xq-5h9v-w6px
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/net-imap/CVE-2026-42258.yml