{"id":"CVE-2015-9097","published":"2017-06-12T20:00:00Z","modified":"2024-09-17T03:28:30Z","title":"The mail gem before 2.5.5 for Ruby (aka A Really Ruby Mail Library) is vulnerable to SMTP command injection via CRLF…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03396,"percentile":0.89125,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/mikel/mail/pull/1097","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/137631","tags":["x_refsource_MISC"]},{"url":"https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83","tags":["x_refsource_MISC"]},{"url":"http://openwall.com/lists/oss-security/2015/12/11/3","tags":["x_refsource_MISC"]},{"url":"https://rubysec.com/advisories/mail-OSVDB-131677","tags":["x_refsource_MISC"]},{"url":"https://github.com/rubysec/ruby-advisory-db/issues/215","tags":["x_refsource_MISC"]},{"url":"http://www.mbsd.jp/Whitepaper/smtpi.pdf","tags":["x_refsource_MISC"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":17.82}]},"affected":[{"ecosystem":"RubyGems","package":"mail","vulnerableRanges":["<2.5.5"],"patched":["2.5.5"],"from":["GHSA-q86f-fmqf-qrf6"],"provenance":"source"}],"summary":{"text":"The mail gem before version 2.5.5 for Ruby (A Really Ruby Mail Library) contains a flaw that allows SMTP command injection through CRLF sequences in RCPT TO or MAIL FROM commands. An attacker who can supply recipient or sender values that are passed into those SMTP commands can inject additional SMTP commands by embedding CRLF sequences, as shown by CRLF sequences placed immediately before and after a DATA substring.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:20Z"},"euvd":{"id":"EUVD-2017-0290","exploited":false,"provenance":"source"}}