ruby: SMTP command injection via CRLF sequences in RCPT TO or MAIL FROM commands in Net::SMTP
Published Jun 12, 2017
6.1
MEDIUMCVSS 3.0
EPSS 3.69%
Description
Net::SMTP in Ruby before 2.4.0 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.
Affected products
No data.
No data.
Red Hat Hardened Images
ruby3-3-main-3.3.10-23.1.hum1
Fixed · RHSA-2026:7305
Red Hat Hardened Images
ruby3-4-main-3.4.8-31.1.hum1
Fixed · RHSA-2026:7307
Red Hat Hardened Images
ruby4-0-main-4.0.0-33.3.hum1
Fixed · RHSA-2026:8838
CloudForms Management Engine 5
rh-ruby22-ruby
Will not fix
CloudForms Management Engine 5
ruby-200-ruby
Will not fix
Red Hat Enterprise Linux 5
ruby
Will not fix
Red Hat Enterprise Linux 6
ruby
Will not fix
Red Hat Enterprise Linux 7
ruby
Will not fix
Red Hat Software Collections
rh-ruby22-ruby
Will not fix
Red Hat Software Collections
rh-ruby23-ruby
Will not fix
Red Hat Software Collections
rh-ruby24-ruby
Not affected
Red Hat Subscription Asset Manager
ruby193-ruby
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | ruby3-3-main-3.3.10-23.1.hum1 | Fixed | RHSA-2026:7305 |
| Red Hat Hardened Images | ruby3-4-main-3.4.8-31.1.hum1 | Fixed | RHSA-2026:7307 |
| Red Hat Hardened Images | ruby4-0-main-4.0.0-33.3.hum1 | Fixed | RHSA-2026:8838 |
| CloudForms Management Engine 5 | rh-ruby22-ruby | Will not fix | n/a |
| CloudForms Management Engine 5 | ruby-200-ruby | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | ruby | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ruby | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | ruby | Will not fix | n/a |
| Red Hat Software Collections | rh-ruby22-ruby | Will not fix | n/a |
| Red Hat Software Collections | rh-ruby23-ruby | Will not fix | n/a |
| Red Hat Software Collections | rh-ruby24-ruby | Not affected | n/a |
| Red Hat Subscription Asset Manager | ruby193-ruby | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (11)
- http://www.mbsd.jp/Whitepaper/smtpi.pdf x_refsource_MISCExploitThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2015-9096 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1461846 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2015-8950 Advisory
- https://github.com/ruby/ruby/commit/0827a7e52ba3d957a634b063bf5a391239b9ffee x_refsource_MISCPatchThird Party Advisory
- https://github.com/rubysec/ruby-advisory-db/issues/215 x_refsource_MISCIssue TrackingThird Party Advisory
- https://hackerone.com/reports/137631 x_refsource_MISCThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2015-9096
- https://www.cve.org/CVERecord?id=CVE-2015-9096
- https://www.debian.org/security/2017/dsa-3966 vendor-advisoryx_refsource_DEBIAN
| Link | Providers | Tags |
|---|---|---|
| http://www.mbsd.jp/Whitepaper/smtpi.pdf | x_refsource_MISCExploitThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2015-9096 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1461846 | Issue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2015-8950 | Advisory | |
| https://github.com/ruby/ruby/commit/0827a7e52ba3d957a634b063bf5a391239b9ffee | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/rubysec/ruby-advisory-db/issues/215 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://hackerone.com/reports/137631 | x_refsource_MISCThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html | mailing-listx_refsource_MLIST | |
| https://nvd.nist.gov/vuln/detail/CVE-2015-9096 | ||
| https://www.cve.org/CVERecord?id=CVE-2015-9096 | ||
| https://www.debian.org/security/2017/dsa-3966 | vendor-advisoryx_refsource_DEBIAN |
Change history (0)
No recorded changes yet.