CVE-2015-9096: 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...
Medium CVSS 6.1
- CVE id
- CVE-2015-9096
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Ruby Runtimes and servers |
<= 2.4.0 | after 2.4.0 |
How to fix it
Upgrade Ruby to a release newer than 2.4.0.
ruby --version
- Install the patched Ruby release of your minor line (rbenv, the ruby image tag) and update .ruby-version.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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
- CVE-2015-9096 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2015-9096
- Web: https://github.com/ruby/ruby/commit/0827a7e52ba3d957a634b063bf5a391239b9ffee
- Web: https://github.com/rubysec/ruby-advisory-db/issues/215
- Web: https://hackerone.com/reports/137631
- Web: https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- Web: https://www.debian.org/security/2017/dsa-3966
- Web: https://github.com/ruby/ruby/commit/0827a7e52ba3d957a634b063bf5a391239b9ffee
- Web: https://github.com/rubysec/ruby-advisory-db/issues/215
- Web: https://hackerone.com/reports/137631
- Web: https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- Web: https://www.debian.org/security/2017/dsa-3966
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.