MEDIUM 6.1 RubyGems
Mail Gem CRLF Injection vulnerability
GHSA-q86f-fmqf-qrf6 · CVE-2015-9097
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2015-9097
- WEB https://github.com/rubysec/ruby-advisory-db/issues/215
- WEB https://github.com/mikel/mail/pull/1097
- WEB https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83
- WEB https://hackerone.com/reports/137631
- ADVISORY https://github.com/advisories/GHSA-q86f-fmqf-qrf6
- PACKAGE https://github.com/mikel/mail
- WEB https://rubysec.com/advisories/mail-OSVDB-131677
- WEB http://openwall.com/lists/oss-security/2015/12/11/3
- WEB http://www.mbsd.jp/Whitepaper/smtpi.pdf
Ready to move
Start Securing
Free, no credit card | First findings in minutes