製品・ソフトウェアに関する情報
Ruby 用 mail gem における SMTP コマンドインジェクションの脆弱性
Title Ruby 用 mail gem における SMTP コマンドインジェクションの脆弱性
Summary

Ruby 用 mail gem (別名 Really Ruby Mail Library) には、SMTP コマンドインジェクションの脆弱性が存在します。

Possible impacts RCPT TO または MAIL FROM コマンドの CRLF シーケンスを介して、SMTP コマンドインジェクション攻撃を実行される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Dec. 17, 2015, midnight
Registration Date July 21, 2017, 6 p.m.
Last Update July 21, 2017, 6 p.m.
CVSS3.0 : 警告
Score 6.1
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS2.0 : 警告
Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:P/A:N
Affected System
Mikel Lindsaar
mail 2.5.5 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2017年07月21日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2015-9097
Summary

The mail gem before 2.5.5 for Ruby (aka A Really Ruby Mail Library) is vulnerable to SMTP command injection via CRLF sequences in a RCPT TO or MAIL FROM command, as demonstrated by CRLF sequences immediately before and after a DATA substring.

Publication Date June 13, 2017, 5:29 a.m.
Registration Date Jan. 26, 2021, 2:59 p.m.
Last Update Nov. 21, 2024, 11:39 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:mail_project:mail:*:*:*:*:*:ruby:*:* 2.5.4
Related information, measures and tools
Common Vulnerabilities List