{"id":"GHSA-q86f-fmqf-qrf6","summary":"Mail Gem CRLF Injection vulnerability","details":"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.","aliases":["CVE-2015-9097"],"modified":"2024-02-16T08:18:19.574996Z","published":"2017-10-24T18:33:36Z","database_specific":{"cwe_ids":["CWE-93"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:51:27Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-9097"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/issues/215"},{"type":"WEB","url":"https://github.com/mikel/mail/pull/1097"},{"type":"WEB","url":"https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83"},{"type":"WEB","url":"https://hackerone.com/reports/137631"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q86f-fmqf-qrf6"},{"type":"PACKAGE","url":"https://github.com/mikel/mail"},{"type":"WEB","url":"https://rubysec.com/advisories/mail-OSVDB-131677"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2015/12/11/3"},{"type":"WEB","url":"http://www.mbsd.jp/Whitepaper/smtpi.pdf"}],"affected":[{"package":{"name":"mail","ecosystem":"RubyGems","purl":"pkg:gem/mail"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.5"}]}],"versions":["1.0.0","1.1.0","1.2.1","1.2.5","1.2.6","1.2.8","1.2.9","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.4.0","1.4.1","1.4.2","1.4.3","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.6.0","2.0.3","2.0.5","2.1.0","2.1.1","2.1.2","2.1.3","2.1.5","2.1.5.1","2.1.5.2","2.1.5.3","2.2.0","2.2.1","2.2.10","2.2.11","2.2.12","2.2.13","2.2.14","2.2.15","2.2.16","2.2.17","2.2.18","2.2.19","2.2.2","2.2.20","2.2.3","2.2.4","2.2.5","2.2.5.1","2.2.5.2","2.2.6","2.2.6.1","2.2.7","2.2.9","2.2.9.1","2.3.0","2.3.2","2.3.3","2.4.0","2.4.1","2.4.3","2.4.4","2.5.2","2.5.3","2.5.4","2.5.5.rc1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-q86f-fmqf-qrf6/GHSA-q86f-fmqf-qrf6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}