CVE-2015-9096

MEDIUM

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.0

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.0

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