Ubuntu CVE Tracker
UBUNTU-CVE-2015-9097
This advisory was withdrawn on 18 July 2025.
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:16.04:LTS | ruby-mail | All versions before 2.6.3+dfsg1-1 (fixed in 2.6.3+dfsg1-1) |
References
- https://ubuntu.com/security/CVE-2015-9097
- http://openwall.com/lists/oss-security/2015/12/11/3
- http://www.mbsd.jp/Whitepaper/smtpi.pdf
- https://github.com/mikel/mail/pull/1097
- https://github.com/rubysec/ruby-advisory-db/issues/215
- https://hackerone.com/reports/137631
- https://rubysec.com/advisories/mail-OSVDB-131677
- https://www.cve.org/CVERecord?id=CVE-2015-9097