Bug 1293598 (CVE-2015-9097) - CVE-2015-9097 rubygem-mail: SMTP injection via recipient email addresses
Summary: CVE-2015-9097 rubygem-mail: SMTP injection via recipient email addresses
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2015-9097
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1293599
Blocks: 1293629
TreeView+ depends on / blocked
 
Reported: 2015-12-22 10:43 UTC by Adam Mariš
Modified: 2019-09-29 13:40 UTC (History)
31 users (show)

Fixed In Version: rubygem-mail 2.6.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 07:12:08 UTC


Attachments (Terms of Use)

Description Adam Mariš 2015-12-22 10:43:15 UTC
It was found that versions of rubygem-mail prior to 2.6.0 are vulnerable to SMTP injection via recipient email addresses. Mail module does not validate nor sanitize given recipient addresses and does not impose a length limit on email addresses. An attacker can send long spam message via recipient address unless there is a limit on the application's side. This vulnerability affects only the applications that lack input validation.

Upstream patch:

https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83

CVE request:

http://www.openwall.com/lists/oss-security/2015/12/11/3

Note that, this patch might not be complete, since according to the author, the fault can also be on Net::SMTP's side.


Note You need to log in before you can comment on or make changes to this bug.