CVE-2015-9097
MEDIUM6.1EPSS 1.0%ruby-mail - security update
Published: 10/24/2017Modified: 4/28/2026
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.
Affected packages (3)
- Debian/ruby-mailfrom 0, < 2.6.1+dfsg1-1
- Debian/ruby-mailfrom 0, < 2.4.4-2+deb7u1
- RubyGems/mailfrom 0, < 2.5.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References (11)
- ADVISORYhttps://github.com/advisories/GHSA-q86f-fmqf-qrf6
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2015-9097
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2015-9097
- PATCHhttps://github.com/mikel/mail
- WEBhttp://openwall.com/lists/oss-security/2015/12/11/3
- WEBhttps://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83
- WEBhttps://github.com/mikel/mail/pull/1097
- WEBhttps://github.com/rubysec/ruby-advisory-db/issues/215
- WEBhttps://hackerone.com/reports/137631
- WEBhttps://rubysec.com/advisories/mail-OSVDB-131677
- WEBhttp://www.mbsd.jp/Whitepaper/smtpi.pdf