{"api_version":"1","generated_at":"2026-07-23T14:23:41+00:00","cve":"CVE-2015-9097","urls":{"html":"https://cve.report/CVE-2015-9097","api":"https://cve.report/api/cve/CVE-2015-9097.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-9097","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-9097"},"summary":{"title":"CVE-2015-9097","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2017-06-12 20:29:00","updated_at":"2025-04-20 01:37:25"},"problem_types":["CWE-93","n/a"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"6.1","severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"https://github.com/rubysec/ruby-advisory-db/issues/215","name":"https://github.com/rubysec/ruby-advisory-db/issues/215","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"],"title":"Add advisory for SMTP injection vulnerability in mail <2.6.0 · Issue #215 · rubysec/ruby-advisory-db · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://hackerone.com/reports/137631","name":"https://hackerone.com/reports/137631","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"],"title":"HackerOne","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83","name":"https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"],"title":"Also unfold and split lazily · mikel/mail@72befdc · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://openwall.com/lists/oss-security/2015/12/11/3","name":"http://openwall.com/lists/oss-security/2015/12/11/3","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - CVE request: mail ruby gem <2.6.0 vulnerable to SMTP injection via\n recipient email addresses","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mbsd.jp/Whitepaper/smtpi.pdf","name":"http://www.mbsd.jp/Whitepaper/smtpi.pdf","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"","mime":"application/pdf","httpstatus":"200","archivestatus":"200"},{"url":"https://rubysec.com/advisories/mail-OSVDB-131677","name":"https://rubysec.com/advisories/mail-OSVDB-131677","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Vendor Advisory"],"title":"Rubysec","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"https://github.com/mikel/mail/pull/1097","name":"https://github.com/mikel/mail/pull/1097","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"],"title":"CVE-2015-9097: prevent SMTP command injection via To/From addresses by jeremy · Pull Request #1097 · mikel/mail · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-9097","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-9097","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"9097","vulnerable":"1","versionEndIncluding":"2.5.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mail_project","cpe5":"mail","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T08:36:31.534Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/mikel/mail/pull/1097"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://hackerone.com/reports/137631"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://openwall.com/lists/oss-security/2015/12/11/3"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://rubysec.com/advisories/mail-OSVDB-131677"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/rubysec/ruby-advisory-db/issues/215"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.mbsd.jp/Whitepaper/smtpi.pdf"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-06-12T20:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://github.com/mikel/mail/pull/1097"},{"tags":["x_refsource_MISC"],"url":"https://hackerone.com/reports/137631"},{"tags":["x_refsource_MISC"],"url":"https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83"},{"tags":["x_refsource_MISC"],"url":"http://openwall.com/lists/oss-security/2015/12/11/3"},{"tags":["x_refsource_MISC"],"url":"https://rubysec.com/advisories/mail-OSVDB-131677"},{"tags":["x_refsource_MISC"],"url":"https://github.com/rubysec/ruby-advisory-db/issues/215"},{"tags":["x_refsource_MISC"],"url":"http://www.mbsd.jp/Whitepaper/smtpi.pdf"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-9097","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/mikel/mail/pull/1097","refsource":"MISC","url":"https://github.com/mikel/mail/pull/1097"},{"name":"https://hackerone.com/reports/137631","refsource":"MISC","url":"https://hackerone.com/reports/137631"},{"name":"https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83","refsource":"MISC","url":"https://github.com/mikel/mail/commit/72befdc4dab3e6e288ce226a7da2aa474cf5be83"},{"name":"http://openwall.com/lists/oss-security/2015/12/11/3","refsource":"MISC","url":"http://openwall.com/lists/oss-security/2015/12/11/3"},{"name":"https://rubysec.com/advisories/mail-OSVDB-131677","refsource":"MISC","url":"https://rubysec.com/advisories/mail-OSVDB-131677"},{"name":"https://github.com/rubysec/ruby-advisory-db/issues/215","refsource":"MISC","url":"https://github.com/rubysec/ruby-advisory-db/issues/215"},{"name":"http://www.mbsd.jp/Whitepaper/smtpi.pdf","refsource":"MISC","url":"http://www.mbsd.jp/Whitepaper/smtpi.pdf"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2015-9097","datePublished":"2017-06-12T20:00:00.000Z","dateReserved":"2017-06-12T00:00:00.000Z","dateUpdated":"2024-09-17T03:28:30.346Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2017-06-12 20:29:00","lastModifiedDate":"2025-04-20 01:37:25","problem_types":["CWE-93","n/a"],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:mail_project:mail:*:*:*:*:*:ruby:*:*","versionEndIncluding":"2.5.4","matchCriteriaId":"99D6663F-F6E8-4892-8DD4-AAEECBEF6329"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"9097","Ordinal":"1","Title":"CVE-2015-9097","CVE":"CVE-2015-9097","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"9097","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2015-9097"},{"CveYear":"2015","CveId":"9097","Ordinal":"2","NoteData":"2017-06-12","Type":"Other","Title":"Published"}]}}}