Name | CVE-2015-9097 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-489-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ruby-mail (PTS) | bullseye | 2.7.1+dfsg1-1.1 | fixed |
| bookworm | 2.7.1+dfsg1-2 | fixed |
| sid, trixie | 2.8.1+dfsg1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
ruby-mail | source | wheezy | 2.4.4-2+deb7u1 | | DLA-489-1 | |
ruby-mail | source | (unstable) | 2.6.1+dfsg1-1 | | | |
Notes
https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83
CVE Request: https://www.openwall.com/lists/oss-security/2015/12/11/3
Fixed in 2.6.0
"Note that, this patch might not be complete ..." https://bugzilla.redhat.com/show_bug.cgi?id=1293598