Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mail Project | <= 2.5.4 |
Related Weaknesses (CWE)
References
- http://openwall.com/lists/oss-security/2015/12/11/3Mailing ListThird Party Advisory
- http://www.mbsd.jp/Whitepaper/smtpi.pdfThird Party Advisory
- https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83ExploitThird Party Advisory
- https://github.com/mikel/mail/pull/1097Issue TrackingThird Party Advisory
- https://github.com/rubysec/ruby-advisory-db/issues/215Issue TrackingThird Party Advisory
- https://hackerone.com/reports/137631Issue TrackingThird Party Advisory
- https://rubysec.com/advisories/mail-OSVDB-131677Issue TrackingVendor Advisory
- http://openwall.com/lists/oss-security/2015/12/11/3Mailing ListThird Party Advisory
- http://www.mbsd.jp/Whitepaper/smtpi.pdfThird Party Advisory
- https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83ExploitThird Party Advisory
- https://github.com/mikel/mail/pull/1097Issue TrackingThird Party Advisory
- https://github.com/rubysec/ruby-advisory-db/issues/215Issue TrackingThird Party Advisory
- https://hackerone.com/reports/137631Issue TrackingThird Party Advisory
- https://rubysec.com/advisories/mail-OSVDB-131677Issue TrackingVendor Advisory
FAQ
What is CVE-2015-9097?
CVE-2015-9097 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 imme...
How severe is CVE-2015-9097?
CVE-2015-9097 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2015-9097?
Check the references section above for vendor advisories and patch information. Affected products include: Mail Project Mail.