CRLF Injection Affecting ruby package, versions [,2.4.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about CRLF Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-RUBY-2370194
  • published26 Jan 2022
  • disclosed12 Jun 2017
  • creditUnknown

Introduced: 12 Jun 2017

CVE-2015-9096  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade ruby to version 2.4.1 or higher.

Overview

Affected versions of this package are vulnerable to CRLF Injection. 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.

CVSS Scores

version 3.1