Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. mail
  4. ›
  5. CVE-2015-9097

CVE-2015-9097: SMTP Injection via to/from addresses

June 12, 2017 (updated July 5, 2017)

The mail package does not disallow CRLF in email addresses; an attacker can inject SMTP commands in specially crafted email addresses passed to RCPT TO and MAIL FROM.

References

  • www.mbsd.jp/Whitepaper/smtpi.pdf
  • github.com/mikel/mail/pull/1097
  • hackerone.com/reports/137631

Code Behaviors & Features

Detect and mitigate CVE-2015-9097 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.5.5.rc1, all versions starting from 2.6.0.alpha0 before 2.6.6.rc1, all versions starting from 2.7.0.alpha0 before 2.7.0.rc1

Fixed versions

  • 2.5.5.rc1
  • 2.6.6.rc1
  • 2.7.0.rc1

Solution

Upgrade to versions 2.5.5.rc1, 2.6.6.rc1, 2.7.0.rc1 or above.

Impact 6.1 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')

Source file

gem/mail/CVE-2015-9097.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.