CVE-2015-9096

medium
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

http://www.mbsd.jp/Whitepaper/smtpi.pdf

https://github.com/ruby/ruby/commit/0827a7e52ba3d957a634b063bf5a391239b9ffee

https://github.com/rubysec/ruby-advisory-db/issues/215

https://hackerone.com/reports/137631

https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html

https://www.debian.org/security/2017/dsa-3966

Details

Source: MITRE

Published: 2017-06-12

Updated: 2018-07-15

Type: CWE-93

Risk Information

CVSS v2

Base Score: 4.3

Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N

Impact Score: 2.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 6.1

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

Impact Score: 2.7

Exploitability Score: 2.8

Severity: MEDIUM

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:ruby-lang:ruby:*:rc1:*:*:*:*:*:* versions up to 2.4.0 (inclusive)

Tenable Plugins

View all (11 total)

IDNameProductFamilySeverity
153341EulerOS 2.0 SP2 : ruby (EulerOS-SA-2021-2445)NessusHuawei Local Security Checks
medium
149101EulerOS 2.0 SP3 : ruby (EulerOS-SA-2021-1845)NessusHuawei Local Security Checks
medium
137599SUSE SLES12 Security Update : ruby2.1 (SUSE-SU-2020:1570-1)NessusSuSE Local Security Checks
high
135605EulerOS Virtualization 3.0.2.2 : ruby (EulerOS-SA-2020-1443)NessusHuawei Local Security Checks
critical
134484EulerOS Virtualization for ARM 64 3.0.2.0 : ruby (EulerOS-SA-2020-1195)NessusHuawei Local Security Checks
critical
129184EulerOS 2.0 SP5 : ruby (EulerOS-SA-2019-1990)NessusHuawei Local Security Checks
critical
111081Debian DLA-1421-1 : ruby2.1 security updateNessusDebian Local Security Checks
critical
103603Amazon Linux AMI : ruby22 / ruby23 (ALAS-2017-906)NessusAmazon Linux Local Security Checks
critical
102964Debian DSA-3966-1 : ruby2.3 - security updateNessusDebian Local Security Checks
critical
102722Fedora 25 : ruby (2017-f318871e3b)NessusFedora Local Security Checks
medium
101974Ubuntu 14.04 LTS / 16.04 LTS / 17.04 : ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities (USN-3365-1)NessusUbuntu Local Security Checks
critical