Vulnerability in Mail Project
CVE-2015-9097
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.
Vulnerability class: CRLF Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.034, 89.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/mikel/mail/pull/1097 (Third Party Advisory, Issue Tracking)
- hackerone.com/reports/137631 (Third Party Advisory, Issue Tracking)
- github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83 (Exploit, Third Party Advisory)
- openwall.com/lists/oss-security/2015/12/11/3 (Mailing List, Third Party Advisory)
- rubysec.com/advisories/mail-OSVDB-131677 (Issue Tracking, Vendor Advisory)
- github.com/rubysec/ruby-advisory-db/issues/215 (Third Party Advisory, Issue Tracking)
- www.mbsd.jp/Whitepaper/smtpi.pdf (Third Party Advisory)