CVE-2015-9097
medium
CVSS v3
6.1
CVSS v2
4.3
VIR risk
6.1
Description
The mail gem before 2.5.5 for Ruby (aka A Really Ruby Mail Library) 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.
Predictions
Exploit likelihood
71%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2015-9097
Vendor advisory: cve@mitre.org — https://rubysec.com/advisories/mail-OSVDB-131677
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 2.6.1+dfsg1-1 |
| debian | bullseye | fixed | 2.6.1+dfsg1-1 |
| debian | forky | fixed | 2.6.1+dfsg1-1 |
| debian | sid | fixed | 2.6.1+dfsg1-1 |
| debian | trixie | fixed | 2.6.1+dfsg1-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mail_project | {"endIncluding":"2.5.4"} | |
References
- https://hackerone.com/reports/137631
- http://openwall.com/lists/oss-security/2015/12/11/3
- http://www.mbsd.jp/Whitepaper/smtpi.pdf
- https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83
- https://github.com/mikel/mail/pull/1097
- https://github.com/rubysec/ruby-advisory-db/issues/215
- https://rubysec.com/advisories/mail-OSVDB-131677
- https://nvd.nist.gov/vuln/detail/CVE-2015-9097
- https://github.com/advisories/GHSA-q86f-fmqf-qrf6
- https://github.com/mikel/mail
- https://security-tracker.debian.org/tracker/CVE-2015-9097
CWEs
CWE-93
Verify integrity in audit chain (admin only). AS-IS.