Vulnerability Description
Net::SMTP in Ruby before 2.4.0 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 |
|---|---|---|
| Ruby-Lang | Ruby | <= 2.4.0 |
Related Weaknesses (CWE)
References
- http://www.mbsd.jp/Whitepaper/smtpi.pdfExploitThird Party Advisory
- https://github.com/ruby/ruby/commit/0827a7e52ba3d957a634b063bf5a391239b9ffeePatchThird Party Advisory
- https://github.com/rubysec/ruby-advisory-db/issues/215Issue TrackingThird Party Advisory
- https://hackerone.com/reports/137631Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://www.debian.org/security/2017/dsa-3966
- http://www.mbsd.jp/Whitepaper/smtpi.pdfExploitThird Party Advisory
- https://github.com/ruby/ruby/commit/0827a7e52ba3d957a634b063bf5a391239b9ffeePatchThird Party Advisory
- https://github.com/rubysec/ruby-advisory-db/issues/215Issue TrackingThird Party Advisory
- https://hackerone.com/reports/137631Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://www.debian.org/security/2017/dsa-3966
FAQ
What is CVE-2015-9096?
CVE-2015-9096 is a vulnerability with a CVSS score of 6.1 (MEDIUM). Net::SMTP in Ruby before 2.4.0 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 subst...
How severe is CVE-2015-9096?
CVE-2015-9096 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-9096?
Check the references section above for vendor advisories and patch information. Affected products include: Ruby-Lang Ruby.