CVE-2025-43857
概要

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5, there is a possibility for denial of service by memory exhaustion when net-imap reads server responses. At any time while the client is connected, a malicious server can send can send a "literal" byte count, which is automatically read by the client's receiver thread. The response reader immediately allocates memory for the number of bytes indicated by the server response. This should not be an issue when securely connecting to trusted IMAP servers that are well-behaved. It can affect insecure connections and buggy, untrusted, or compromised servers (for example, connecting to a user supplied hostname). This issue has been patched in versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5.

公表日 2025年4月29日1:15
登録日 2025年4月29日4:00
最終更新日 2025年4月29日1:15
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
Ruby-lang.org の Ruby 用 Net::IMAP におけるリソースの枯渇に関する脆弱性
タイトル Ruby-lang.org の Ruby 用 Net::IMAP におけるリソースの枯渇に関する脆弱性
概要

Ruby-lang.org の Ruby 用 Net::IMAP には、リソースの枯渇に関する脆弱性、非対称のリソース消費に関する脆弱性、制限またはスロットリング無しのリソースの割り当てに関する脆弱性が存在します。

想定される影響 サービス運用妨害 (DoS) 状態にされる可能性があります。
対策

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

公表日 2025年4月28日0:00
登録日 2025年5月21日17:58
最終更新日 2025年5月21日17:58
影響を受けるシステム
Ruby-lang.org
Net::IMAP 0.2.5 未満
Net::IMAP 0.3.0 以上 0.3.9 未満
Net::IMAP 0.4.0 以上 0.4.20 未満
Net::IMAP 0.5.0 以上 0.5.7 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2025年05月21日]
  掲載
2025年5月21日17:58