GitHub Advisoryadvisory · RubyGems

GHSA-q86f-fmqf-qrf6 Mail Gem CRLF Injection vulnerability

MEDIUM Published 2017-10-24 Modified 2023-09-05 Official page ↗
Aliases
CVE-2015-9097
Ecosystem
RubyGems
Packages
mail
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-93
Reviewed
2020-06-16

Affected packages

• RubyGems mail: < 2.5.5 → fixed in 2.5.5

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.

Related

Alias · CVE (1)

  • CVE-2015-9097 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… vulnerability

Weakness · CWE (1)

  • CWE-93 Improper Neutralization of CRLF Sequences weakness

References