CVE-2015-9096: Command Injection

Published Jun 12, 2017
·
Updated

Last updated 24 July 2024

Other sources

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.

— Launchpad

Affected Software

6 affected componentsFixes available
ruby-lang Ruby<=2.4.0
redhat/ruby<2.4.0
2.4.0
debian/ruby1.8
debian/ruby1.9.1
debian/ruby2.1
2.1.5-2+deb8u4
debian/ruby2.3
2.3.3-1+deb9u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/ruby to a version that resolves this vulnerability.

    Fixed in 2.4.0
  2. Upgrade

    Upgrade debian/ruby2.1 to a version that resolves this vulnerability.

    Fixed in 2.1.5-2+deb8u4
  3. Upgrade

    Upgrade debian/ruby2.3 to a version that resolves this vulnerability.

    Fixed in 2.3.3-1+deb9u1
  4. Upgrade

    Upgrade ruby/ruby to a version that resolves this vulnerability.

    Fixed in 2.4.0

Event History

Jun 12, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Jun 15, 2017
Data Sourced
via Red Hat·12:43 PM
DescriptionSeverityAffected Software
Jul 15, 2018
Data Sourced
01:29 AM
Weakness
Data Sourced
via NVD·01:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·01:29 AM
Affected Software
Jun 17, 2026
Updated
via NVD·12:35 AM
RemedyAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2015-9096?

CVE-2015-9096 is considered a medium severity vulnerability due to its potential for SMTP command injection.

2

How do I fix CVE-2015-9096?

To fix CVE-2015-9096, update Ruby to version 2.4.0 or later.

3

Which versions of Ruby are affected by CVE-2015-9096?

CVE-2015-9096 affects Ruby versions prior to 2.4.0 including ruby1.8, ruby1.9.1, and ruby2.1.

4

What type of vulnerability is CVE-2015-9096?

CVE-2015-9096 is an SMTP command injection vulnerability.

5

Is there a workaround for CVE-2015-9096?

There is no known workaround for CVE-2015-9096; the recommended solution is to upgrade Ruby.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203