CVE-2015-9096 Command injection in n/a
Attackers can inject SMTP commands via CRLF sequences in Ruby's Net::SMTP library, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2015-9096?
CVE-2015-9096 is a medium-severity command injection vulnerability in Ruby-Lang Ruby, published on 12 Jun 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-93
Which versions are affected by CVE-2015-9096?
It affects 1 product.
Products include Ruby-Lang Ruby.
How do I fix CVE-2015-9096?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2015-9096 being exploited?
There is no known exploitation of CVE-2015-9096 in the wild and no public exploit code.
Other vulnerabilities in Ruby-Lang Ruby
Sources
Also known as GHSA-2h3c-5vqm-gqfh, UBUNTU-CVE-2015-9096.